Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2018-10-04 05:58:36 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-10-04 06:08:28 +0300
commitd23447d8d5ef8dbf85282c421d9e3e68fa304426 (patch)
tree888588ab0ad41d6061c2ce6018f19b4e62ba57c1 /source/blender/editors/uvedit/uvedit_ops.c
parent46eb050c9d0e0dae5708f0682b5034837bf2f111 (diff)
UI: disable UV operator register
Was showing redo panel for cursor & selection operators.
Diffstat (limited to 'source/blender/editors/uvedit/uvedit_ops.c')
-rw-r--r--source/blender/editors/uvedit/uvedit_ops.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/source/blender/editors/uvedit/uvedit_ops.c b/source/blender/editors/uvedit/uvedit_ops.c
index 246c8593d10..4adf70c27ff 100644
--- a/source/blender/editors/uvedit/uvedit_ops.c
+++ b/source/blender/editors/uvedit/uvedit_ops.c
@@ -3287,7 +3287,7 @@ static void UV_OT_select_border(wmOperatorType *ot)
ot->cancel = WM_gesture_border_cancel;
/* flags */
- ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO;
+ ot->flag = OPTYPE_UNDO;
/* properties */
RNA_def_boolean(ot->srna, "pinned", 0, "Pinned", "Border select pinned UVs only");
@@ -3427,7 +3427,7 @@ static void UV_OT_circle_select(wmOperatorType *ot)
ot->cancel = WM_gesture_circle_cancel;
/* flags */
- ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO;
+ ot->flag = OPTYPE_UNDO;
/* properties */
WM_operator_properties_gesture_circle_select(ot);
@@ -4388,9 +4388,6 @@ static void UV_OT_cursor_set(wmOperatorType *ot)
ot->invoke = uv_set_2d_cursor_invoke;
ot->poll = uv_set_2d_cursor_poll;
- /* flags */
- ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO;
-
/* properties */
RNA_def_float_vector(ot->srna, "location", 2, NULL, -FLT_MAX, FLT_MAX, "Location",
"Cursor location in normalized (0.0-1.0) coordinates", -10.0f, 10.0f);