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:
authorBastien Montagne <montagne29@wanadoo.fr>2017-05-28 18:35:24 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2017-05-28 18:35:24 +0300
commitb947810291b16d3f304e2cd59f94c96c5f6e6f51 (patch)
tree03e5ab00327ac1af03cfae46a849f05a6231d5e3 /release
parent9f044cb422c1fc9ad79278092445f612342abb59 (diff)
Make 'set offset from cursor' group operator internal.
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).
Diffstat (limited to 'release')
-rw-r--r--release/scripts/startup/bl_operators/object.py2
1 files changed, 1 insertions, 1 deletions
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):