From caf52e3779a9e5e13055f7da963a2197481d43a4 Mon Sep 17 00:00:00 2001 From: Dalai Felinto Date: Fri, 24 May 2019 19:21:30 -0300 Subject: Update "Overriding Context" API example --- doc/python_api/examples/bpy.ops.1.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc') 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) -- cgit v1.2.3