Pārlūkot izejas kodu

Unnecessary parameter

Detach was taking a parameter that wasn't used. Removing it.
Max Strater 10 gadi atpakaļ
vecāks
revīzija
5c38e6bdd4
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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;
 			scope.object = undefined;
 			this.axis = null;
 			this.axis = null;