Blender Git Commit Log

Git Commits -> Revision 6c8b356

January 10, 2020, 10:10 (GMT)
undoexp: Fix major flaw in general logic of unchanged data detection.

Am not sure why it seemed to work that well so far... But using marker
saying that data did not change between n-2 and n-1 step when undoing
from n to n-1 is not really smart.

Fixed that by adding a 'is_identical_future' flag to memfile chunks,
which is set when storing the next undo step. And then using undo
direction to decide which flag to use to detect unchanged data.

This seesm to work to some extend, although for some reason very most
recent undo step seems to be evaluated when doing the first undo, not
sure why... Need to test that with actual working undo code in
undo-experiments-idnames branch anyway.

Commit Details:

Full Hash: 6c8b356203ed3cb330c6f6fa8354eafe46509687
Parent Commit: 209b2d7
Lines Changed: +47, -16

By: Miika HämäläinenLast update: Nov-07-2014 14:18 MiikaHweb | 2003-2021