ycw hace 1 año
padre
commit
5a6eb7ab8b
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  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 );
 
 		}