Blender Git Commit Log

Git Commits -> Revision 47084ba

Revision 47084ba by Brecht Van Lommel (master)
April 14, 2020, 09:07 (GMT)
Fix T75542: toggling modifier visibility not working correct with undo speedup

The problem was that in direct_link_id_restore_recalc, recalc_undo_accumulated
should contain the changes from the target state to the current state. However
it had already been cleared at that point, to start accumulating changes up to
the next undo push.

Delaying the clear of this flag seems like the obvious solution, but it's hard
to find the right place for that (if there is one). Instead this splits up the
flag into two separate variables.

Reviewed By: mont29

Differential Revision: https://developer.blender.org/D7402

Commit Details:

Full Hash: 47084bac9f3c4c95b6fa3e3c3d5b1e661b2bec47
Parent Commit: e6d9d5d
Lines Changed: +40, -28

5 Modified Paths:

/source/blender/blenloader/intern/readfile.c (+5, -5) (Diff)
/source/blender/blenloader/intern/writefile.c (+22, -13) (Diff)
/source/blender/depsgraph/intern/depsgraph_tag.cc (+1, -1) (Diff)
/source/blender/editors/undo/memfile_undo.c (+3, -3) (Diff)
/source/blender/makesdna/DNA_ID.h (+9, -6) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021