Преглед на файлове

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

Popov72 преди 5 години
родител
ревизия
4e79dddd34
променени са 1 файла, в които са добавени 1 реда и са изтрити 0 реда
  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
      * The url of the texture
      */
      */
+    @serialize()
     public url: string;
     public url: string;
 
 
     /**
     /**