Browse Source

Editor: Removed non working code.

Mr.doob 5 years ago
parent
commit
a36f902f6f
1 changed files with 2 additions and 12 deletions
  1. 2 12
      editor/js/Sidebar.Scene.js

+ 2 - 12
editor/js/Sidebar.Scene.js

@@ -350,20 +350,10 @@ function SidebarScene( editor ) {
 				backgroundTexture.setValue( null );
 				backgroundEquirectangularTexture.setValue( null );
 
-			} else if ( scene.background.isEquirectangularTexture ) {
-
-				backgroundType.setValue( "Equirectangular" );
-				backgroundTexture.setValue( null );
-				backgroundEquirectangularTexture.setValue( scene.background );
-
-			} else if ( scene.background.isTexture ) {
-
-				backgroundType.setValue( "Texture" );
-				backgroundTexture.setValue( scene.background );
-				backgroundEquirectangularTexture.setValue( null );
-
 			}
 
+			// TODO: Add Texture/EquirectangularTexture support
+
 		} else {
 
 			backgroundType.setValue( "None" );