diff options
author | Julian Eisel <eiseljulian@gmail.com> | 2015-04-05 21:04:37 +0300 |
---|---|---|
committer | Julian Eisel <eiseljulian@gmail.com> | 2015-04-05 21:04:37 +0300 |
commit | c3dad7953afccd440c63c60b5ce34f147178d826 (patch) | |
tree | ec11a7c8ba2be70421c78c897da22c603579ef9a /source | |
parent | 776bfa64a53191b6f6aba107449be9353b7a2bee (diff) |
Stickies: Remove redundant fixes
Those fixes aren't needed anymore due to
776bfa64a53191b6f6aba107449be9353b7a2bee
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/interface/interface_eyedropper.c | 4 | ||||
-rw-r--r-- | source/blender/editors/mesh/editmesh_extrude.c | 3 |
2 files changed, 0 insertions, 7 deletions
diff --git a/source/blender/editors/interface/interface_eyedropper.c b/source/blender/editors/interface/interface_eyedropper.c index 96f9b87611f..f5847a9d701 100644 --- a/source/blender/editors/interface/interface_eyedropper.c +++ b/source/blender/editors/interface/interface_eyedropper.c @@ -277,10 +277,6 @@ static int eyedropper_modal(bContext *C, wmOperator *op, const wmEvent *event) eyedropper_cancel(C, op); return OPERATOR_CANCELLED; case LEFTMOUSE: - /* two release events are sent on KM_CLICK, so ignore second one */ - if (event->click_type == KM_CLICK) { - break; - } if (event->val == KM_RELEASE) { if (eye->accum_tot == 0) { eyedropper_color_sample(C, eye, event->x, event->y); diff --git a/source/blender/editors/mesh/editmesh_extrude.c b/source/blender/editors/mesh/editmesh_extrude.c index 3c9c8a45d4d..5c7efcc40da 100644 --- a/source/blender/editors/mesh/editmesh_extrude.c +++ b/source/blender/editors/mesh/editmesh_extrude.c @@ -511,9 +511,6 @@ static int edbm_dupli_extrude_cursor_invoke(bContext *C, wmOperator *op, const w bool done = false; bool use_proj; - if (ELEM(event->click_type, KM_CLICK, KM_HOLD)) - return OPERATOR_CANCELLED; - em_setup_viewcontext(C, &vc); ED_view3d_init_mats_rv3d(vc.obedit, vc.rv3d); |