diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-05-17 11:43:01 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-05-17 11:43:31 +0300 |
commit | 6864d0b6f1e31b382a69e6455de771535e272f29 (patch) | |
tree | d0610e276f7c7ab09d7c4ddff5fca19dd65b9252 | |
parent | f50cef95ef33085780c4d4c66f178abfc5ea21b0 (diff) |
API Docs: fix mistake in example code
-rw-r--r-- | doc/python_api/examples/bpy.types.Depsgraph.6.py | 2 |
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'} |