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

moar xform

This commit is contained in:
2014-07-12 17:23:04 -04:00
parent 02603e6021
commit bd655475f5

View File

@ -125,10 +125,10 @@ class Exporter:
ci = ci.object
# Now we have the "fun" work of filling in the CI
ci.worldToLocal = utils.matrix44(bo.matrix_basis)
ci.localToWorld = ci.worldToLocal.inverse()
ci.parentToLocal = utils.matrix44(bo.matrix_local)
ci.localToParent = ci.parentToLocal.inverse()
ci.localToWorld = utils.matrix44(bo.matrix_basis)
ci.worldToLocal = ci.localToWorld.inverse()
ci.localToParent = utils.matrix44(bo.matrix_local)
ci.parentToLocal = ci.localToParent.inverse()
def _export_scene_objects(self):
for bl_obj in self._objects: