Blender Git Loki

Git Commits -> Revision 1a30687

Revision 1a30687 by Campbell Barton (master)
January 22, 2021, 04:43 (GMT)
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.

Commit Details:

Full Hash: 1a30687c24be7899d0835d4c3572d7dc0f1a5656
Parent Commit: 7b528b2
Lines Changed: +17, -0

1 Modified Path:

/source/blender/editors/util/ed_util.c (+17, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021