From bd655475f56b526b1247884572dbf83581b62c93 Mon Sep 17 00:00:00 2001 From: Adam Johnson Date: Sat, 12 Jul 2014 17:23:04 -0400 Subject: [PATCH] moar xform --- korman/exporter/convert.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/korman/exporter/convert.py b/korman/exporter/convert.py index b1cf1b3..92e1010 100644 --- a/korman/exporter/convert.py +++ b/korman/exporter/convert.py @@ -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: