浏览代码

Now use "serializeAsColor3" for fire material

Julien Moreau-Mathis 7 年之前
父节点
当前提交
ac1dd617f7
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      materialsLibrary/src/fire/babylon.fireMaterial.ts

+ 1 - 1
materialsLibrary/src/fire/babylon.fireMaterial.ts

@@ -38,7 +38,7 @@ module BABYLON {
         @expandToProperty("_markAllSubMeshesAsTexturesDirty")
         @expandToProperty("_markAllSubMeshesAsTexturesDirty")
         public opacityTexture: Nullable<BaseTexture>;
         public opacityTexture: Nullable<BaseTexture>;
         
         
-        @serialize("diffuse")
+        @serializeAsColor3("diffuse")
         public diffuseColor = new Color3(1, 1, 1);
         public diffuseColor = new Color3(1, 1, 1);
         
         
         @serialize()
         @serialize()