API Docs: fix mistake in example code
This commit is contained in:
@@ -30,7 +30,7 @@ class OBJECT_OT_simple_exporter(bpy.types.Operator):
|
|||||||
continue
|
continue
|
||||||
print(f"Exporting mesh with {len(mesh.vertices)} vertices "
|
print(f"Exporting mesh with {len(mesh.vertices)} vertices "
|
||||||
f"at {object_instance.matrix_world}")
|
f"at {object_instance.matrix_world}")
|
||||||
bpy.data.meshes.remove(mesh)
|
object_instace.to_mesh_clear()
|
||||||
|
|
||||||
return {'FINISHED'}
|
return {'FINISHED'}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user