Browse Source

TransformControls: Fixed intricate bug.

Mr.doob 11 years ago
parent
commit
af2c846625
1 changed files with 1 additions and 1 deletions
  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();