Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2019-05-17 11:43:01 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2019-05-17 11:43:31 +0300
commit6864d0b6f1e31b382a69e6455de771535e272f29 (patch)
treed0610e276f7c7ab09d7c4ddff5fca19dd65b9252 /doc
parentf50cef95ef33085780c4d4c66f178abfc5ea21b0 (diff)
API Docs: fix mistake in example code
Diffstat (limited to 'doc')
-rw-r--r--doc/python_api/examples/bpy.types.Depsgraph.6.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/python_api/examples/bpy.types.Depsgraph.6.py b/doc/python_api/examples/bpy.types.Depsgraph.6.py
index 781d0202931..56e028e8813 100644
--- a/doc/python_api/examples/bpy.types.Depsgraph.6.py
+++ b/doc/python_api/examples/bpy.types.Depsgraph.6.py
@@ -30,7 +30,7 @@ class OBJECT_OT_simple_exporter(bpy.types.Operator):
continue
print(f"Exporting mesh with {len(mesh.vertices)} vertices "
f"at {object_instance.matrix_world}")
- bpy.data.meshes.remove(mesh)
+ object_instace.to_mesh_clear()
return {'FINISHED'}