diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-01-22 07:23:34 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-01-22 07:43:25 +0300 |
commit | 1a30687c24be7899d0835d4c3572d7dc0f1a5656 (patch) | |
tree | e3b4ea339d33b1ff2192ba9c817826ee79a2ee6e /source/blender/editors/space_nla | |
parent | 7b528b2a3ad33b3ad7328213669d8179528e254b (diff) |
Fix undo crash on active object change without exiting edit-mode
While the previous fix for T84920 is correct, the crash could still be
triggered by changing the active object while in edit-mode.
Ensure stale data isn't used by tagging for depsgraph update when
edit-mode data is freed on undo.
While exiting edit-mode normally does this, it's possible to set the
active object to a non edit-mode mesh, skipping the mode-switch
operator and it's depsgraph tagging.
Diffstat (limited to 'source/blender/editors/space_nla')
0 files changed, 0 insertions, 0 deletions