From 0b9bfd8ea7fca82d6d65b4ad9fb3750e90cbef16 Mon Sep 17 00:00:00 2001
From: Amorilia <amorilia@users.sourceforge.net>
Date: Sat, 1 Apr 2006 22:36:24 +0000
Subject: [PATCH] Fixed transformation bug.

---
 NIF_Blocks.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/NIF_Blocks.cpp b/NIF_Blocks.cpp
index 0d993aee..4b937679 100644
--- a/NIF_Blocks.cpp
+++ b/NIF_Blocks.cpp
@@ -495,7 +495,7 @@ Matrix44 ANode::GetLocalTransform() const {
 	s[3][0] = 0.0f;		s[3][1] = 0.0f;		s[3][2] = 0.0f;		s[3][3] = 1.0f;
 
 	//Multiply the two for the resulting local transform
-	return MultMatrix44(rt, s);
+	return MultMatrix44(s, rt);
 }
 
 Matrix44 ANode::GetWorldTransform() const {
-- 
GitLab