From 050c1bed9198fa00f4795ac90cea5f337320bf45 Mon Sep 17 00:00:00 2001 From: Patrick Dulebohn Date: Tue, 29 Jun 2021 10:42:17 -0400 Subject: [PATCH] Fix Offset Y Small change to fix the Y value of the layer offset, which was causing it to export in reverse. --- korman/exporter/animation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/korman/exporter/animation.py b/korman/exporter/animation.py index 5a9630c..b829a19 100644 --- a/korman/exporter/animation.py +++ b/korman/exporter/animation.py @@ -427,7 +427,7 @@ class AnimationConverter: scale = kwargs[scale_path] translation = hsVector3(pos[0] - (scale[0] - 1.0) / 2.0, - -pos[1] - (scale[1] - 1.0) / 2.0, + pos[1] - (scale[1] - 1.0) / 2.0, pos[2] - (scale[2] - 1.0) / 2.0) matrix = hsMatrix44() matrix.setTranslate(translation)