4
4
mirror of https://github.com/H-uru/korman.git synced 2025-07-14 22:36:52 +00:00

Fix GeoSpan transforms

This commit is contained in:
2014-07-12 15:13:45 -04:00
parent 5a2691eedb
commit 02603e6021

View File

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