Skip to content

Commit 01df548

Browse files
No inverting the normals!
1 parent fb151e9 commit 01df548

File tree

1 file changed

+2
-2
lines changed
  • xivModdingFramework/Models/FileTypes

1 file changed

+2
-2
lines changed

xivModdingFramework/Models/FileTypes/PDB.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -350,11 +350,11 @@ private static void BuildNewTransfromMatrices(SkeletonData node, Dictionary<stri
350350
{
351351
def.InvertedDeformations.Add(node.BoneName, def.Deformations[node.BoneName].Inverted());
352352

353-
var normalMatrix = def.Deformations[node.BoneName].Inverted();
353+
var normalMatrix = def.Deformations[node.BoneName];
354354
normalMatrix.Transpose();
355355
def.NormalDeformations.Add(node.BoneName, normalMatrix);
356356

357-
var invertexNormalMatrix = def.Deformations[node.BoneName].Inverted();
357+
var invertexNormalMatrix = def.Deformations[node.BoneName];
358358
normalMatrix.Transpose();
359359
invertexNormalMatrix.Invert();
360360
def.InvertedNormalDeformations.Add(node.BoneName, invertexNormalMatrix);

0 commit comments

Comments
 (0)