Browse Source

Defer calc_tessface..physics exporter optimization

pull/8/head
Adam Johnson 10 years ago
parent
commit
5ed311312b
  1. 2
      korman/exporter/physics.py

2
korman/exporter/physics.py

@ -26,7 +26,7 @@ class PhysicsConverter:
self._exporter = weakref.ref(exporter) self._exporter = weakref.ref(exporter)
def _convert_mesh_data(self, bo, physical, indices=True): def _convert_mesh_data(self, bo, physical, indices=True):
mesh = bo.to_mesh(bpy.context.scene, True, "RENDER") mesh = bo.to_mesh(bpy.context.scene, True, "RENDER", calc_tessface=False)
mat = bo.matrix_world mat = bo.matrix_world
with TemporaryObject(mesh, bpy.data.meshes.remove) as mesh: with TemporaryObject(mesh, bpy.data.meshes.remove) as mesh:

Loading…
Cancel
Save