diff options
author | Lukas Toenne <lukas.toenne@googlemail.com> | 2012-10-17 13:49:32 +0400 |
---|---|---|
committer | Lukas Toenne <lukas.toenne@googlemail.com> | 2012-10-17 13:49:32 +0400 |
commit | 7061fa7cf1f1aa3f15ce2784c2ec39d561205dad (patch) | |
tree | e1914f836eb6e4aa7e38a0ff55ea11e2ffc77f90 /source/blender/blenkernel | |
parent | 536d9fec80dad342ef28f2fc8a0c5b4e5de98d31 (diff) |
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.
Diffstat (limited to 'source/blender/blenkernel')
0 files changed, 0 insertions, 0 deletions