Browse Source

Fixed remaining instances of detatch typo.

Mr.doob 12 years ago
parent
commit
25e4f52e22
2 changed files with 2 additions and 2 deletions
  1. 1 1
      editor/js/Viewport.js
  2. 1 1
      examples/webgl_multiple_windows.html

+ 1 - 1
editor/js/Viewport.js

@@ -300,7 +300,7 @@ var Viewport = function ( signals ) {
 	signals.objectSelected.add( function ( object ) {
 
 		selectionBox.visible = false;
-		transformControls.detatch();
+		transformControls.detach();
 
 		if ( object !== null ) {
 

+ 1 - 1
examples/webgl_multiple_windows.html

@@ -605,7 +605,7 @@
 					var object = control.object;
 					if ( object ) {
 
-						control.detatch( object );
+						control.detach( object );
 
 					}