Procházet zdrojové kódy

Fix crash when reloading a node material that holds a cube texture

Popov72 před 5 roky
rodič
revize
4e79dddd34
1 změnil soubory, kde provedl 1 přidání a 0 odebrání
  1. 1 0
      src/Materials/Textures/cubeTexture.ts

+ 1 - 0
src/Materials/Textures/cubeTexture.ts

@@ -26,6 +26,7 @@ export class CubeTexture extends BaseTexture {
     /**
      * The url of the texture
      */
+    @serialize()
     public url: string;
 
     /**