[Bf-blender-cvs] [6c77e91] temp_merge_gooseberry_hair: 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 Jan 19 20:47:44 CET 2015


Commit: 6c77e91a61fcaa0c6de22eae50409688317c053f
Author: Lukas Tönne
Date:   Mon Sep 1 18:46:32 2014 +0200
Branches: temp_merge_gooseberry_hair
https://developer.blender.org/rB6c77e91a61fcaa0c6de22eae50409688317c053f

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 4ff9788..67db08f 100644
--- a/source/blender/blenloader/intern/readfile.c
+++ b/source/blender/blenloader/intern/readfile.c
@@ -3828,6 +3828,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