ycw 1 year ago
parent
commit
5a6eb7ab8b
1 changed files with 3 additions and 0 deletions
  1. 3 0
      editor/js/Sidebar.Scene.js

+ 3 - 0
editor/js/Sidebar.Scene.js

@@ -419,6 +419,8 @@ function SidebarScene( editor ) {
 		} else {
 
 			backgroundType.setValue( 'None' );
+			backgroundTexture.setValue( null );
+			backgroundEquirectangularTexture.setValue( null );
 
 		}
 
@@ -438,6 +440,7 @@ function SidebarScene( editor ) {
 		} else {
 
 			environmentType.setValue( 'None' );
+			environmentEquirectangularTexture.setValue( null );
 
 		}