From b947810291b16d3f304e2cd59f94c96c5f6e6f51 Mon Sep 17 00:00:00 2001 From: Bastien Montagne Date: Sun, 28 May 2017 17:35:24 +0200 Subject: Make 'set offset from cursor' group operator internal. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This operator relies on a rather specific context setup, so it shall not be exposed to user in 'operator search' menu etc. Based on D2528 by Vuk Gardašević (lijenstina). --- release/scripts/startup/bl_operators/object.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'release/scripts/startup/bl_operators/object.py') diff --git a/release/scripts/startup/bl_operators/object.py b/release/scripts/startup/bl_operators/object.py index 3a42d8d2e78..307764205e6 100644 --- a/release/scripts/startup/bl_operators/object.py +++ b/release/scripts/startup/bl_operators/object.py @@ -864,7 +864,7 @@ class DupliOffsetFromCursor(Operator): """Set offset used for DupliGroup based on cursor position""" bl_idname = "object.dupli_offset_from_cursor" bl_label = "Set Offset From Cursor" - bl_options = {'REGISTER', 'UNDO'} + bl_options = {'INTERNAL', 'UNDO'} @classmethod def poll(cls, context): -- cgit v1.2.3