Browse Source

Editor: Fix lgtm.com issues.

Mugen87 5 years ago
parent
commit
f0e3215fd6
2 changed files with 2 additions and 2 deletions
  1. 1 1
      editor/js/Editor.js
  2. 1 1
      editor/js/Sidebar.History.js

+ 1 - 1
editor/js/Editor.js

@@ -341,7 +341,7 @@ Editor.prototype = {
 
 			if ( object.isCamera ) {
 
-				helper = new CameraHelper( object, 1 );
+				helper = new CameraHelper( object );
 
 			} else if ( object.isPointLight ) {
 

+ 1 - 1
editor/js/Sidebar.History.js

@@ -108,7 +108,7 @@ var SidebarHistory = function ( editor ) {
 
 			}
 
-		} )( history.redos, ' ' );
+		} )( history.redos );
 
 		outliner.setOptions( options );