forked from bartvdbraak/blender
Stickies: Remove redundant fixes
Those fixes aren't needed anymore due to 776bfa64a53191b6f6aba107449be9353b7a2bee
This commit is contained in:
parent
776bfa64a5
commit
c3dad7953a
@ -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);
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user