Fix #113112: Loop Cut and Slide from menu is waiting for cursor input
This is because `TRANSFORM_OT_edge_slide` has `OPTYPE_DEPENDS_ON_CURSOR` flag set. Due to this, invoke call to loop-cut operator was not sent from function `WM_operator_name_call_ptr_with_depends_on_cursor`. Since `edge slide` operator does not depend on actual cusor position, we can remove this operator flag to fix the problem. Pull Request: https://projects.blender.org/blender/blender/pulls/113140
This commit is contained in:
parent
b213f2aa3d
commit
b8705d342f
|
@ -1179,7 +1179,7 @@ static void TRANSFORM_OT_edge_slide(wmOperatorType *ot)
|
|||
ot->name = "Edge Slide";
|
||||
ot->description = "Slide an edge loop along a mesh";
|
||||
ot->idname = OP_EDGE_SLIDE;
|
||||
ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO | OPTYPE_BLOCKING | OPTYPE_DEPENDS_ON_CURSOR;
|
||||
ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO | OPTYPE_BLOCKING;
|
||||
|
||||
/* api callbacks */
|
||||
ot->invoke = transform_invoke;
|
||||
|
|
Loading…
Reference in New Issue