|
@@ -579,7 +579,7 @@ THREE.TransformControls = function ( camera, domElement ) {
|
|
if ( pointer.button !== 0 ) return;
|
|
if ( pointer.button !== 0 ) return;
|
|
|
|
|
|
let viewDriver = vwf.views["/drivers/view/aframeComponent"];
|
|
let viewDriver = vwf.views["/drivers/view/aframeComponent"];
|
|
- viewDriver.interpolateView = true;
|
|
|
|
|
|
+
|
|
if ( this.dragging && ( this.axis !== null ) ) {
|
|
if ( this.dragging && ( this.axis !== null ) ) {
|
|
|
|
|
|
mouseUpEvent.mode = this.mode;
|
|
mouseUpEvent.mode = this.mode;
|
|
@@ -590,6 +590,8 @@ THREE.TransformControls = function ( camera, domElement ) {
|
|
this.dragging = false;
|
|
this.dragging = false;
|
|
this.axis = null;
|
|
this.axis = null;
|
|
|
|
|
|
|
|
+ viewDriver.interpolateView = true;
|
|
|
|
+
|
|
};
|
|
};
|
|
|
|
|
|
// normalize mouse / touch pointer and remap {x,y} to view space.
|
|
// normalize mouse / touch pointer and remap {x,y} to view space.
|