浏览代码

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
      */
+    @serialize()
     public url: string;
 
     /**