diff options
author | NBurn <7nburn@gmail.com> | 2019-01-25 06:59:16 +0300 |
---|---|---|
committer | NBurn <7nburn@gmail.com> | 2019-01-25 06:59:16 +0300 |
commit | c686df25d98bc6a08ad02b9f4f9cff6b4aee4805 (patch) | |
tree | 2ddb8dd6ee0fc2bd546bb95691c07b906aeab1cf /camera_turnaround.py | |
parent | a6189ebcbe0fcee59f72147fcc160f7b47234354 (diff) |
addons: object select_set syntax update
Diffstat (limited to 'camera_turnaround.py')
-rw-r--r-- | camera_turnaround.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/camera_turnaround.py b/camera_turnaround.py index f9e20b62..5bb5c620 100644 --- a/camera_turnaround.py +++ b/camera_turnaround.py @@ -88,7 +88,7 @@ class RunAction(Operator): # (make empty active object) # ------------------------- bpy.ops.object.select_all(False) - myempty.select = True + myempty.select_set(True) context.scene.objects.active = myempty # save current configuration savedinterpolation = context.preferences.edit.keyframe_new_interpolation_type @@ -172,7 +172,7 @@ class RunAction(Operator): # Back to old selection # ------------------------- bpy.ops.object.select_all(False) - selectobject.select = True + selectobject.select_set(True) bpy.context.scene.objects.active = selectobject bpy.context.scene.frame_set(savedframe) |