diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-04-10 17:10:44 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-04-10 17:10:44 +0400 |
commit | 5061f2eb62e1e940d83636dda7584b06c5e8166d (patch) | |
tree | 71597fb60652361e20c4155cdb723dd20163b5bf /source/gameengine/Ketsji/BL_Material.h | |
parent | 1b74ec9564cb6edf83f5fd8811c67f019fc9f25c (diff) |
fix [#30839] Blender crashes while open/close a scene and deletes .blend-file
Diffstat (limited to 'source/gameengine/Ketsji/BL_Material.h')
-rw-r--r-- | source/gameengine/Ketsji/BL_Material.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/gameengine/Ketsji/BL_Material.h b/source/gameengine/Ketsji/BL_Material.h index 7b1779fed10..70fd640a07e 100644 --- a/source/gameengine/Ketsji/BL_Material.h +++ b/source/gameengine/Ketsji/BL_Material.h @@ -8,6 +8,7 @@ #include "STR_String.h" #include "MT_Point2.h" +#include "DNA_meshdata_types.h" #ifdef WITH_CXX_GUARDEDALLOC #include "MEM_guardedalloc.h" @@ -83,7 +84,7 @@ public: Material* material; - MTFace* tface; + MTFace tface; /* copy of the derived meshes tface */ Image* img[MAXTEX]; EnvMap* cubemap[MAXTEX]; |