Blender Git Loki

Git Commits -> Revision 7061fa7

Revision 7061fa7 by Lukas Toenne (master)
October 17, 2012, 09:49 (GMT)
Fix #32887, ParticleInstance: crash with hidden particle system + children.

The issue here is that the particle instance modifier (pimd) accesses data from the linked particle system modifier (psmd). This data is only correctly generated when the psmd is enabled; here the design violates the modifier principle of providing valid object data (or rather DM) even when disabled.

The solution in this case is to make a custom isDisabled check for the pimd to see if the psmd is enabled. This means the pimd won't work for disabled psmd, but doesn't crash.

Commit Details:

Full Hash: 7061fa7cf1f1aa3f15ce2784c2ec39d561205dad
SVN Revision: 51380
Parent Commit: 536d9fe
Lines Changed: +39, -1

1 Modified Path:

/source/blender/modifiers/intern/MOD_particleinstance.c (+39, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021