Explorar el Código

Fix assetContainer for envtexture

David `Deltakosh` Catuhe hace 5 años
padre
commit
5f1b502866
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      src/assetContainer.ts

+ 2 - 0
src/assetContainer.ts

@@ -457,6 +457,8 @@ export class AssetContainer extends AbstractScene {
             }
         }
 
+        this.environmentTexture = this.scene.environmentTexture;
+
         this.removeAllFromScene();
     }