[Bf-blender-cvs] [22245d0] hair_immediate_fixes: Clear debug_data pointer in local cloth modifier data of the particle systems on blend file load.
Lukas Tönne
noreply at git.blender.org
Mon Sep 1 18:49:24 CEST 2014
Commit: 22245d0e0406691a3e1d0a1f745df33364105dbe
Author: Lukas Tönne
Date: Mon Sep 1 18:46:32 2014 +0200
Branches: hair_immediate_fixes
https://developer.blender.org/rB22245d0e0406691a3e1d0a1f745df33364105dbe
Clear debug_data pointer in local cloth modifier data of the particle
systems on blend file load.
===================================================================
M source/blender/blenloader/intern/readfile.c
===================================================================
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c
index 844d6e9..278dbf6 100644
--- a/source/blender/blenloader/intern/readfile.c
+++ b/source/blender/blenloader/intern/readfile.c
@@ -3818,6 +3818,8 @@ static void lib_link_particlesystems(FileData *fd, Object *ob, ID *id, ListBase
psys->clmd->ptcaches.first = psys->clmd->ptcaches.last= NULL;
psys->clmd->coll_parms->group = newlibadr(fd, id->lib, psys->clmd->coll_parms->group);
psys->clmd->modifier.error = NULL;
+
+ psys->clmd->debug_data = NULL;
}
}
else {
More information about the Bf-blender-cvs
mailing list