-# $Id: mesh_export.py 137 2010-12-05 19:22:35Z tdb $
-
import bpy
class VertexCache:
mesh = None
bmeshes = []
for o in objs:
- bmesh = o.create_mesh(context.scene, True, "PREVIEW")
+ bmesh = o.to_mesh(context.scene, True, "PREVIEW")
bmeshes.append(bmesh)
if not mesh:
mesh = Mesh(bmesh)