Просмотр исходного кода

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

Popov72 5 лет назад
Родитель
Сommit
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
      */
+    @serialize()
     public url: string;
 
     /**