瀏覽代碼

TransformControls: Fixed intricate bug.

Mr.doob 11 年之前
父節點
當前提交
af2c846625
共有 1 個文件被更改,包括 1 次插入1 次删除
  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();