Explorar o código

TransformControls: Fixed intricate bug.

Mr.doob %!s(int64=11) %!d(string=hai) anos
pai
achega
af2c846625
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      examples/js/controls/TransformControls.js

+ 1 - 1
examples/js/controls/TransformControls.js

@@ -642,7 +642,7 @@
 		this.detach = function ( object ) {
 
 			scope.object = undefined;
-			this.axis = undefined;
+			this.axis = null;
 
 			this.gizmo["translate"].hide();
 			this.gizmo["rotate"].hide();