diff options
Diffstat (limited to 'release/scripts/startup/bl_operators/object.py')
-rw-r--r-- | release/scripts/startup/bl_operators/object.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/release/scripts/startup/bl_operators/object.py b/release/scripts/startup/bl_operators/object.py index a24f6a742c1..fddf15155fc 100644 --- a/release/scripts/startup/bl_operators/object.py +++ b/release/scripts/startup/bl_operators/object.py @@ -92,7 +92,7 @@ class SelectPattern(Operator): if item_parent is not None: item_parent.select_tail = True else: - item.select_set(action='SELECT') + item.select_set(True) return {'FINISHED'} @@ -139,7 +139,7 @@ class SelectCamera(Operator): bpy.ops.object.select_all(action='DESELECT') view_layer.objects.active = camera # camera.hide = False # XXX TODO where is this now? - camera.select_set(action='SELECT') + camera.select_set(True) return {'FINISHED'} return {'CANCELLED'} @@ -205,7 +205,7 @@ class SelectHierarchy(Operator): bpy.ops.object.select_all(action='DESELECT') for obj in select_new: - obj.select_set(action='SELECT') + obj.select_set(True) view_layer.objects.active = act_new return {'FINISHED'} @@ -646,8 +646,8 @@ class MakeDupliFace(Operator): ob_new.use_dupli_faces_scale = True ob_new.dupli_faces_scale = 1.0 / SCALE_FAC - ob_inst.select_set(action='SELECT') - ob_new.select_set(action='SELECT') + ob_inst.select_set(True) + ob_new.select_set(True) def execute(self, context): self._main(context) |