Go to file
Joshua Leung 4b922c0bf3 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.
2011-01-13 06:14:14 +00:00
build_files Enable sndfile by default on win64 2011-01-05 09:00:28 +00:00
doc removing epydocs for mathutils and geometry mododules (now they are in sphinx) 2011-01-01 23:53:48 +00:00
extern rename blenderlib to blender_add_lib 2010-12-22 23:09:30 +00:00
intern use PySequence_Size() rather then PySequence_Length(), this is only kept in python for backwards compatibility. 2011-01-09 14:53:18 +00:00
po move directories: 2010-07-26 11:47:33 +00:00
release fix for NULL missing pointer check, reported on IRC by admix. 2011-01-13 05:05:10 +00:00
source Bugfix [#25597] Grease Pencil crash when undoing during a Sketching 2011-01-13 06:14:14 +00:00
CMakeLists.txt rename BKE_assert() --> BLI_assert(). 2011-01-09 15:12:08 +00:00
COPYING == docs == 2010-10-13 14:44:22 +00:00
Makefile move directories: 2010-07-26 11:47:33 +00:00
SConstruct Compiling and linking blenderplayer statically now works too. This brings it in line with blender linking line. 2010-12-27 09:01:57 +00:00