endset_three_editor 0.10.12 → 0.10.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/three-editor.es.js
CHANGED
|
@@ -5237,6 +5237,11 @@ function Ja() {
|
|
|
5237
5237
|
r === 0 || e === 0 || (C.camera.aspect = r / e, C.camera.updateProjectionMatrix(), C.renderer.setSize(r, e), Ye && Ye.setSize(r, e), Tr(r, e));
|
|
5238
5238
|
}
|
|
5239
5239
|
function ds(r) {
|
|
5240
|
+
let e = r;
|
|
5241
|
+
for (; e; ) {
|
|
5242
|
+
if (e.isTransformControlsRoot) return;
|
|
5243
|
+
e = e.parent;
|
|
5244
|
+
}
|
|
5240
5245
|
C.selectedObject !== r && (C.selectedObject && C.transformControls.detach(), C.selectedObject = r, C.transformControls.attach(r), C.transformControls.setMode(C.transformControlsMode), C.transformControls.showX = !0, C.transformControls.showY = !0, C.transformControls.showZ = !0, mi(r), ot == null || ot(r));
|
|
5241
5246
|
}
|
|
5242
5247
|
let xe = null;
|