Browse Source

Editor: Fixed axis to null breakage.

Mr.doob 11 years ago
parent
commit
d5eb03dd83
1 changed files with 1 additions and 1 deletions
  1. 1 1
      editor/js/Viewport.js

+ 1 - 1
editor/js/Viewport.js

@@ -43,7 +43,7 @@ var Viewport = function ( editor ) {
 
 		controls.enabled = true;
 
-		if ( transformControls.axis !== undefined ) {
+		if ( transformControls.axis !== null ) {
 
 			controls.enabled = false;