Explorar o código

Editor: Removed non working code.

Mr.doob %!s(int64=5) %!d(string=hai) anos
pai
achega
a36f902f6f
Modificáronse 1 ficheiros con 2 adicións e 12 borrados
  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" );