From 2944d42c262d9d4459e356dc8b8fbad1c53c2054 Mon Sep 17 00:00:00 2001 From: Ton Roosendaal Date: Thu, 1 Nov 2012 17:52:21 +0000 Subject: 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. --- source/blender/editors/gpencil/gpencil_paint.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/editors/gpencil') 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; -- cgit v1.2.3