Explorar el Código

TransformControls: Fixed intricate bug.

Mr.doob hace 11 años
padre
commit
af2c846625
Se han modificado 1 ficheros con 1 adiciones y 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();