Explorar el Código

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

Popov72 hace 5 años
padre
commit
4e79dddd34
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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;
 
     /**