Blender Git Statistics -> Branches -> undo-experiments

"Undo-experiments" branch

Total commits : 40
Total committers : 2
First Commit : August 30, 2019
Latest Commit : January 14, 2020


Commits by Month

DateNumber of Commits
January, 202015
December, 20195
November, 201915
October, 20190
September, 20192
August, 20193

Committers

AuthorNumber of Commits
Bastien Montagne39
Bastien Montagne1

Popular Files

FilenameTotal Edits
readfile.c14
readfile.h6
undo_system.c6
undofile.c5
writefile.c3
readblenentry.c3
scene.c2
BKE_blender_undo.h1
blender_undo.c1
blendfile.c1

Latest commits Feed

January 14, 2020, 12:37 (GMT)
Merge branch 'master' into undo-experiments
January 13, 2020, 15:51 (GMT)
Merge branch 'master' into undo-experiments
January 10, 2020, 11:09 (GMT)
undoexp: fix for missed func signature change.
January 10, 2020, 10:16 (GMT)
Merge branch 'master' into undo-experiments
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.
January 9, 2020, 16:13 (GMT)
undoexp: more cleanup of debug printf.
January 9, 2020, 15:55 (GMT)
undoexp: Silent/remove some debug prints.
January 9, 2020, 10:21 (GMT)
Merge branch 'master' into undo-experiments
January 8, 2020, 10:03 (GMT)
undoexp: Fix crash on NULL depsgraph in storage/restoring code.

There are some cases where a depsgraph has 'no time' to be built (like
multi-steps undo's).

Plus I guess in multi-viewlayers/scenes cases...
January 6, 2020, 14:49 (GMT)
Merge branch 'master' into undo-experiments
January 5, 2020, 17:27 (GMT)
Merge branch 'master' into undo-experiments
January 2, 2020, 16:03 (GMT)
undoexp: fix crashes with even trivial relationships (like parent ones).

Even if we re-used an old ID, it may have some pointers to other IDs
remapped to newly read data, e.g. the `parent` of an object...

So CoW/evaluated data in re-used despgraph needs to be flushed in those
cases.
January 2, 2020, 16:00 (GMT)
undoexp: Add new 'UNDO_OLD_ID_REUSED' ID tag.

We need to be able to distinguish between reused IDs and newly read
ones, and 'NEW' tag is not enough here, as it gets cleared in read code.

This will be used in next commit to inform depsgraph that some re-used
old IDs need at least a COW refresh, as they are using ID pointers to
newly read data.
January 2, 2020, 09:48 (GMT)
Undoexp: do not tag re-used IDs with LIB_TAG_NEW.
January 2, 2020, 09:45 (GMT)
Merge branch 'master' into undo-experiments
December 30, 2019, 16:58 (GMT)
undoexp: do not clear icon_id of re-used IDs.

Those icon_id's remain valid, and allocated in the preview system,
clearing them here will lead to asserts...
December 30, 2019, 14:30 (GMT)
Merge branch 'master' into undo-experiments
Revision 74b241b by Bastien Montagne (undo-experiments, undo-experiments-idnames)
December 23, 2019, 16:38 (GMT)
Merge branch 'master' into undo-experiments
December 10, 2019, 10:58 (GMT)
Fix stupid misplacement of depsgraphs extraction/restoration.
December 10, 2019, 10:14 (GMT)
Merge branch 'master' into undo-experiments

MiikaHweb - Blender Git Statistics v1.06
By: Miika HämäläinenLast update: Nov-07-2014 14:18 MiikaHweb | 2003-2020