diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/python_api/examples/bpy.types.Object.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/python_api/examples/bpy.types.Object.py b/doc/python_api/examples/bpy.types.Object.py index 46f42c828d7..743322492b4 100644 --- a/doc/python_api/examples/bpy.types.Object.py +++ b/doc/python_api/examples/bpy.types.Object.py @@ -25,5 +25,5 @@ view_layer.active_layer_collection.collection.objects.link(light_object) light_object.location = (5.0, 5.0, 5.0) # And finally select it and make it active. -light_object.select_set('SELECT') +light_object.select_set(True) view_layer.objects.active = light_object |