From e4ac8ab212769b569334d0cd15d4bf04f42cbc89 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 29 May 2019 00:48:48 +1000 Subject: WM: support X/Y axis cursor wrapping Operator flags to wrap on a single axis. D4865 by @Gvgeo with updates. Resolves T64585 --- source/blender/editors/mesh/editmesh_inset.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/editors/mesh/editmesh_inset.c') diff --git a/source/blender/editors/mesh/editmesh_inset.c b/source/blender/editors/mesh/editmesh_inset.c index 2955488a597..9c7b234028c 100644 --- a/source/blender/editors/mesh/editmesh_inset.c +++ b/source/blender/editors/mesh/editmesh_inset.c @@ -577,7 +577,7 @@ void MESH_OT_inset(wmOperatorType *ot) ot->poll = ED_operator_editmesh; /* flags */ - ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO | OPTYPE_GRAB_CURSOR | OPTYPE_BLOCKING; + ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO | OPTYPE_GRAB_CURSOR_XY | OPTYPE_BLOCKING; /* properties */ RNA_def_boolean(ot->srna, "use_boundary", true, "Boundary", "Inset face boundaries"); -- cgit v1.2.3