diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-12-01 11:16:08 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-12-01 11:16:08 +0400 |
commit | b290f9a6cc465dd9ee4a8c12e5b959f41967165b (patch) | |
tree | e183652dcbe35521d8d44d18a03cbb6c58e5bf7e /doc/python_api | |
parent | 2f97f929a5dcb8b13aec528103ebe0db088aa696 (diff) |
add bmesh.free() to example & template
Diffstat (limited to 'doc/python_api')
-rw-r--r-- | doc/python_api/examples/bmesh.ops.1.py | 2 |
1 files changed, 2 insertions, 0 deletions
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 |