浏览代码

Unnecessary parameter

Detach was taking a parameter that wasn't used. Removing it.
Max Strater 10 年之前
父节点
当前提交
5c38e6bdd4
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      examples/js/controls/TransformControls.js

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

@@ -662,7 +662,7 @@
 
 		};
 
-		this.detach = function ( object ) {
+		this.detach = function () {
 
 			scope.object = undefined;
 			this.axis = null;