diff options
author | Philipp Oeser <info@graphics-engineer.com> | 2019-09-27 15:48:35 +0300 |
---|---|---|
committer | Philipp Oeser <info@graphics-engineer.com> | 2019-12-19 22:58:22 +0300 |
commit | 0647232ac545a7c56f6d5abd7700143fc4455024 (patch) | |
tree | 6e471f5c38415d2a04d3ce569f521fbd3a5a2511 /source/blender/editors/physics/particle_edit.c | |
parent | 66d773c2e7c595a65454ce1f0ca8f131a03125ed (diff) |
Fix particle editmode undo not doing proper updates when child particles
are visible
Not freeing PTCacheEdit and tagging batch cache dirty on undo will have
a couple of consequences. This patch fixes:
- crash deleting a particle, then undo
- basically any edit (combing, ...), then undo will leave child hairs
untouched
- adding hairs (through mirror, add tool, ...), then undo will leave
'orphaned' child hairs
See also D5755 for a related discussion
Fixes the crasher mentioned in T69000
Might move this to a utility function later [since it is used in more
places], but that is for after going over some more reports...
Reviewers: sergey
Differential Revision: https://developer.blender.org/D5912
Diffstat (limited to 'source/blender/editors/physics/particle_edit.c')
0 files changed, 0 insertions, 0 deletions