Pārlūkot izejas kodu

Editor: Removed non working code.

Mr.doob 5 gadi atpakaļ
vecāks
revīzija
a36f902f6f
1 mainītis faili ar 2 papildinājumiem un 12 dzēšanām
  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 );
 				backgroundTexture.setValue( null );
 				backgroundEquirectangularTexture.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 {
 		} else {
 
 
 			backgroundType.setValue( "None" );
 			backgroundType.setValue( "None" );