Blender Git Loki

Git Commits -> Revision a0029a6

Revision a0029a6 by Bastien Montagne (master)
January 14, 2021, 11:02 (GMT)
Cleanup/refactor: Remove logically broken code from GPencil undo.

`ED_undo_gpencil_step` only support valid undo step direction, passing
step name here is useless and only add confusion to what works or not.

Undo by step name or step index is fully not supported by GPencil undo
mode currently.

Note that since GPencil undo mode does not seem to ever be used anyway,
this is not an urgent issue in practice, but this needs to be cleaned up
at some point. See also T84703.

Commit Details:

Full Hash: a0029a678f55798d31261070b69d10b2a7395e99
Parent Commit: 8cdd701
Lines Changed: +12, -14

3 Modified Paths:

/source/blender/editors/gpencil/gpencil_undo.c (+5, -11) (Diff)
/source/blender/editors/include/ED_gpencil.h (+1, -1) (Diff)
/source/blender/editors/undo/ed_undo.c (+6, -2) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021