浏览代码

Editor: Removed non working code.

Mr.doob 5 年之前
父节点
当前提交
a36f902f6f
共有 1 个文件被更改,包括 2 次插入12 次删除
  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" );