Browse Source

Fix GeoSpan transforms

pull/6/head
Adam Johnson 11 years ago
parent
commit
02603e6021
  1. 4
      korman/exporter/mesh.py

4
korman/exporter/mesh.py

@ -115,8 +115,8 @@ class MeshConverter:
geospan.localToWorld = hsMatrix44() geospan.localToWorld = hsMatrix44()
geospan.worldToLocal = hsMatrix44() geospan.worldToLocal = hsMatrix44()
else: else:
geospan.worldToLocal = utils.matrix44(bo.matrix_basis) geospan.localToWorld = utils.matrix44(bo.matrix_basis)
geospan.localToWorld = geospan.worldToLocal.inverse() geospan.worldToLocal = geospan.localToWorld.inverse()
return geospan return geospan
def finalize(self): def finalize(self):

Loading…
Cancel
Save