Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2005-03-29 21:52:14 +0400
committerDaniel Dunbar <daniel@zuster.org>2005-03-29 21:52:14 +0400
commit340748fd5c4463c290f207f7539a7f96fad9c44d (patch)
tree45711756ca135eacf33e07e3769ac74d5ef8455b /source/blender/blenloader/intern
parent70687a2e8434debd6bdb25174f0f0b49909aabc4 (diff)
- zero derivedmesh pointers on load
Diffstat (limited to 'source/blender/blenloader/intern')
-rw-r--r--source/blender/blenloader/intern/readfile.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c
index 8708671e87b..6561318cd8b 100644
--- a/source/blender/blenloader/intern/readfile.c
+++ b/source/blender/blenloader/intern/readfile.c
@@ -2102,6 +2102,8 @@ static void direct_link_mesh(FileData *fd, Mesh *mesh)
mesh->oc= 0;
mesh->dface= NULL;
mesh->orco= NULL;
+ mesh->decimated= NULL;
+ mesh->derived= NULL;
if (mesh->tface) {
TFace *tfaces= mesh->tface;