Blender Git Commit Log

Git Commits -> Revision 26fd55f

Revision 26fd55f by Bastien Montagne (master)
January 12, 2021, 10:58 (GMT)
UndoSys: Refactor step 1: cleanup and simplify logic in main undo/redo handlers.

* Simplify and clarify logic in `BKE_undosys_step_undo/redo_with_data_ex`,
by adding early return on invalid situations, renaming some variables,
and adding comments.
* Add more sanity checks in those functions.

No behavioral change are expected here, besides in potential edge-case,
invalid situations.

This is a preliminary change, before some deeper modifications of
`BKE_undosys` undo/redo API.

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

Commit Details:

Full Hash: 26fd55fad17f8177b52cf7c4bfe6d086e6ff1745
Parent Commit: 1dc9650
Lines Changed: +153, -67

1 Modified Path:

/source/blender/blenkernel/intern/undo_system.c (+153, -67) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021