diff options
author | Ton Roosendaal <ton@blender.org> | 2012-11-01 21:52:21 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2012-11-01 21:52:21 +0400 |
commit | 2944d42c262d9d4459e356dc8b8fbad1c53c2054 (patch) | |
tree | 0109c29ada326618d87b6a113cd87cbdcfdb890e | |
parent | 9a82b47b4f8158f12ed2941037da50615c9bcb7a (diff) |
Bugfix #24030
Greasepencil mode 'hold d' was also inserting drivers (hotkey D) on mouse over.
The modal operator was default passing on all events, I made it swallowing it.
Doesn't seem to be affecting use at all.
-rw-r--r-- | source/blender/editors/gpencil/gpencil_paint.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/gpencil/gpencil_paint.c b/source/blender/editors/gpencil/gpencil_paint.c index a1e8c76c4d2..9bfd89075af 100644 --- a/source/blender/editors/gpencil/gpencil_paint.c +++ b/source/blender/editors/gpencil/gpencil_paint.c @@ -1723,7 +1723,7 @@ static void gpencil_stroke_end(wmOperator *op) static int gpencil_draw_modal(bContext *C, wmOperator *op, wmEvent *event) { tGPsdata *p = op->customdata; - int estate = OPERATOR_PASS_THROUGH; /* default exit state - not handled, so let others have a share of the pie */ + int estate = OPERATOR_RUNNING_MODAL; /* default exit state - we don't pass on events, GP is used with key-modifiers */ /* if (event->type == NDOF_MOTION) * return OPERATOR_PASS_THROUGH; |