diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2019-05-25 01:21:30 +0300 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2019-05-25 01:21:30 +0300 |
commit | caf52e3779a9e5e13055f7da963a2197481d43a4 (patch) | |
tree | 8b5bf8503e3ddb82e1e70f33eb3f4c2db4e92540 | |
parent | 7d44184c85cc3ca1e96cd3a9ed84bc4834246f5a (diff) |
Update "Overriding Context" API example
-rw-r--r-- | doc/python_api/examples/bpy.ops.1.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/python_api/examples/bpy.ops.1.py b/doc/python_api/examples/bpy.ops.1.py index 7fdde453abe..efc9f00b0ae 100644 --- a/doc/python_api/examples/bpy.ops.1.py +++ b/doc/python_api/examples/bpy.ops.1.py @@ -20,5 +20,5 @@ you would pass ``{'active_object': object}``. # remove all objects in scene rather than the selected ones import bpy override = bpy.context.copy() -override['selected_bases'] = list(bpy.context.scene.object_bases) +override['selected_objects'] = list(bpy.context.scene.objects) bpy.ops.object.delete(override) |