diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-06-01 17:10:48 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-06-01 18:14:06 +0300 |
commit | eef18d39cbf0e50ba18d28f52f57689ad0701c16 (patch) | |
tree | b73f1be66afa07c43419cfc1aad979c4013cd746 | |
parent | b3be71e07ab91b39c5840be6ea07c4f5ba08ba2e (diff) |
Fix broken set collection offset from cursor operator.
-rw-r--r-- | release/scripts/startup/bl_operators/object.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/release/scripts/startup/bl_operators/object.py b/release/scripts/startup/bl_operators/object.py index 5fd54eceb25..0959cbec448 100644 --- a/release/scripts/startup/bl_operators/object.py +++ b/release/scripts/startup/bl_operators/object.py @@ -865,7 +865,7 @@ class TransformsToDeltasAnim(Operator): class DupliOffsetFromCursor(Operator): - """Set offset used for DupliGroup based on cursor position""" + """Set offset used for collection instances based on cursor position""" bl_idname = "object.dupli_offset_from_cursor" bl_label = "Set Offset From Cursor" bl_options = {'INTERNAL', 'UNDO'} @@ -876,9 +876,9 @@ class DupliOffsetFromCursor(Operator): def execute(self, context): scene = context.scene - group = context.group + collection = context.collection - group.dupli_offset = scene.cursor_location + collection.dupli_offset = scene.cursor_location return {'FINISHED'} |