|
@@ -103407,13 +103407,15 @@ ENDSEC
|
|
|
this.box.rotation.setZ(0)
|
|
|
}
|
|
|
}) */
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
},
|
|
|
|
|
|
|
|
|
-
|
|
|
- updateBoxLine(){
|
|
|
-
|
|
|
- },
|
|
|
+
|
|
|
|
|
|
setBoxPose(){
|
|
|
const min = 0.01;//0的话相当于没有box所以不能为0
|
|
@@ -103428,8 +103430,7 @@ ENDSEC
|
|
|
this.box.position.copy(pos);
|
|
|
this.box.rotation.copy(rotation);
|
|
|
this.box.scale.copy(scale);
|
|
|
-
|
|
|
- this.updateBoxLine();
|
|
|
+
|
|
|
},
|
|
|
|
|
|
//暂定为在手动设置旋转之前 , 如果有基准线,使用基准线的旋转角。
|
|
@@ -139263,7 +139264,7 @@ ENDSEC
|
|
|
callback && callback(data);
|
|
|
return data
|
|
|
}catch(e){
|
|
|
- console.error('loadFile出错', path);
|
|
|
+ console.error('loadFile出错', path, e);
|
|
|
onError && onError(e);
|
|
|
}
|
|
|
|