UI: enable the depend-on-cursor flag for some operators
- Bend (Transform). - Extrude to Cursor. - Lasso Select (related operators such as node-cut links, mask.. etc). - Rip Mesh / UV's. - Vertex/Edge Slide.
This commit is contained in:
@@ -818,6 +818,8 @@ void WM_OT_lasso_gesture(wmOperatorType *ot)
|
||||
|
||||
ot->poll = WM_operator_winactive;
|
||||
|
||||
ot->flag = OPTYPE_DEPENDS_ON_CURSOR;
|
||||
|
||||
prop = RNA_def_property(ot->srna, "path", PROP_COLLECTION, PROP_NONE);
|
||||
RNA_def_property_struct_runtime(ot->srna, prop, &RNA_OperatorMousePath);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user