Fix [#22538] Crash when Selecting Particle Properties Tab (File-dependant)
psys->parent pointer wasn't getting handled in lib_link_particlesystems()
This commit is contained in:
@@ -3074,6 +3074,7 @@ static void lib_link_particlesystems(FileData *fd, Object *ob, ID *id, ListBase
|
||||
for(; pt; pt=pt->next)
|
||||
pt->ob=newlibadr(fd, id->lib, pt->ob);
|
||||
|
||||
psys->parent= newlibadr_us(fd, id->lib, psys->parent);
|
||||
psys->target_ob = newlibadr(fd, id->lib, psys->target_ob);
|
||||
|
||||
if(psys->clmd) {
|
||||
@@ -3143,7 +3144,7 @@ static void direct_link_particlesystems(FileData *fd, ListBase *particles)
|
||||
psys->childcachebufs.first = psys->childcachebufs.last = NULL;
|
||||
psys->frand = NULL;
|
||||
psys->pdd = NULL;
|
||||
|
||||
|
||||
direct_link_pointcache_list(fd, &psys->ptcaches, &psys->pointcache);
|
||||
|
||||
if(psys->clmd) {
|
||||
|
||||
Reference in New Issue
Block a user