From b290f9a6cc465dd9ee4a8c12e5b959f41967165b Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sat, 1 Dec 2012 07:16:08 +0000 Subject: add bmesh.free() to example & template --- doc/python_api/examples/bmesh.ops.1.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'doc/python_api/examples/bmesh.ops.1.py') diff --git a/doc/python_api/examples/bmesh.ops.1.py b/doc/python_api/examples/bmesh.ops.1.py index 2eefb63a23d..abce087ceb3 100644 --- a/doc/python_api/examples/bmesh.ops.1.py +++ b/doc/python_api/examples/bmesh.ops.1.py @@ -95,6 +95,8 @@ bmesh.ops.rotate( # Finish up, write the bmesh into a new mesh me = bpy.data.meshes.new("Mesh") bm.to_mesh(me) +bm.free() + # Add the mesh to the scene scene = bpy.context.scene -- cgit v1.2.3