|
@@ -399,11 +399,11 @@ export default {
|
|
|
});
|
|
|
this.transformControls.addEventListener("mouseDown", (e) => {
|
|
|
this.controls.enabled = false;
|
|
|
- // this.$emit("controlsEnabled", false);
|
|
|
+ this.$emit("controlsEnabled", false);
|
|
|
});
|
|
|
this.transformControls.addEventListener("mouseUp", (e) => {
|
|
|
this.controls.enabled = true;
|
|
|
- // this.$emit("controlsEnabled", true);
|
|
|
+ this.$emit("controlsEnabled", true);
|
|
|
});
|
|
|
this.scene.add(this.transformControls);
|
|
|
},
|