Blender Git Commit Log

Git Commits -> Revision 79236d5

October 23, 2014, 10:03 (GMT)
GPencil Draw Operator: Implemented proper method to delay start of drawing

When running GPencil drawing operators from the toolbar or from a (pie) menu,
drawing operations shouldn't start immediately, but rather, only when users
actually click to start drawing. This is because the mouse is often not in a
suitable location for this to work when the operators get invoked from such
UI controls.

Previously, we used a hack which just detected certain types of events. This worked
ok for toolbars, but not for menus. Now, we've got a proper property to enable this
behaviour instead.

Commit Details:

Full Hash: 79236d5b81bac009d4e058dc11cbdbe9e4c20189
Parent Commit: fa9a41c
Lines Changed: +9, -7

2 Modified Paths:

/source/blender/editors/gpencil/gpencil_ops.c (+4, -1) (Diff)
/source/blender/editors/gpencil/gpencil_paint.c (+5, -6) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021