mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
API Docs: fix mistake in example code
This commit is contained in:
parent
f50cef95ef
commit
6864d0b6f1
1 changed files with 1 additions and 1 deletions
|
|
@ -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'}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue