|
@@ -117606,10 +117606,10 @@ ENDSEC
|
|
|
|
|
|
|
|
|
{//校准页面拖拽
|
|
|
-
|
|
|
+ //左右屏都可以拖拽模型,旋转只能左屏
|
|
|
let dragInfo;
|
|
|
let drag = (e)=>{
|
|
|
- if(this.split && this.selected && this.transformState && (e.dragViewport.name == 'top' || this.transformState == 'translate') ){
|
|
|
+ if(this.split && this.selected && this.transformState && (e.dragViewport.name == 'top' || this.transformState == 'translate') ){
|
|
|
if(e.type == 'global_mousedown' ){ //开始
|
|
|
//if((e.intersect.object || e.intersect.pointcloud) == this.selected){
|
|
|
if(e.intersect.pointclouds.includes(this.selected) || e.intersect.allElements.some(e=>e.object == this.selected)){
|