Page MenuHome

Fix particle editmode undo not doing proper updates when child particles are visible
Needs ReviewPublic

Authored by Philipp Oeser (lichtwerk) on Fri, Sep 27, 2:57 PM.



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

Diff Detail

rB Blender
particle_edit_children_undo (branched from master)
Build Status
Buildable 5124
Build 5124: arc lint + arc unit