Files
test/source/blender/blenkernel
Campbell Barton 651b8fb14e Undo: unified undo system w/ linear history
- Use a single undo history for all operations.
- UndoType's are registered and poll the context to check if they
  should be used when performing an undo push.
- Mode switching is used to ensure the state is correct before
  undo data is restored.
- Some undo types accumulate changes (image & text editing)
  others store the state multiple times (with de-duplication).
  This is supported by checking UndoStack.mode `ACCUMULATE` / `STORE`.
- Each undo step stores ID datablocks they use with utilities to help
  manage restoring correct ID's.
  Needed since global undo is now mixed with other modes undo.
- Currently performs each undo step when going up/down history
  Previously this wasn't done, making history fail in some cases.
  This can be optimized to skip some combinations of undo steps.

grease-pencil is an exception which has not been updated
since it integrates undo into the draw-session.

See D3113
2018-03-31 20:40:37 +02:00
..
2017-03-25 10:04:04 +11:00
2018-01-28 17:00:39 +11:00
2016-08-06 10:58:13 +02:00
2016-05-17 03:07:40 +10:00
2015-07-25 07:44:25 +10:00
2018-03-02 11:17:57 +11:00
2015-08-01 12:37:52 +10:00
2017-11-29 15:59:51 +01:00
2016-08-08 17:51:15 +02:00
2018-02-23 12:59:55 +11:00
2018-03-14 02:08:07 +11:00
2015-11-12 18:54:26 +11:00
2016-05-11 20:20:25 +10:00
2016-05-03 13:52:07 +10:00
2018-01-19 15:34:54 +11:00