Blender Git Loki

Git Commits -> Revision 4b922c0

Revision 4b922c0 by Joshua Leung (master)
January 13, 2011, 06:14 (GMT)
Bugfix [#25597] Grease Pencil crash when undoing during a Sketching
Session

As the key combination for undo was unhandled by Grease Pencil
operator and allowed to execute, some of the lingering Grease Pencil
data would get corrupted by undo as some flags may still have been
set.

This commit attempts to fix.workaround this problem by catching undo
events, using the internal "delete last stroke" functionality to
emulate undo-like behaviour as expected but without the associated
risks. The underlying functionality used was already part of the
original 2.4 implementation, but was exposed via the GUI instead there
where it was less useful.

---

Other tweaks related to Grease Pencil:
1) Spacebar can be used to end Sketching Sessions too now
2) Grease Pencil animation editor now displays GP datablocks in light
blue (i.e. "sub-id") colours as per dopesheet instead of them being
presented like groups. This better reflects their true nature.

Commit Details:

Full Hash: 4b922c0bf3c095087a7ee40fa6fe7056bbc6b537
SVN Revision: 34292
Parent Commit: 6a9d93a
Lines Changed: +39, -23

2 Modified Paths:

/source/blender/editors/animation/anim_channels_defines.c (+2, -5) (Diff)
/source/blender/editors/gpencil/gpencil_paint.c (+37, -18) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021