Skip to content
Snippets Groups Projects
Commit 7640f1bc authored by Tazpn's avatar Tazpn
Browse files

niflib: swap binormals and tangents: [ niftools-Bugs-2466995 ]

parent 831bdd63
No related branches found
No related tags found
No related merge requests found
...@@ -320,8 +320,9 @@ void NiTriBasedGeom::UpdateTangentSpace(int method) { ...@@ -320,8 +320,9 @@ void NiTriBasedGeom::UpdateTangentSpace(int method) {
} }
else else
{ {
niTriGeomData->SetTangents(tangents); // swap binormals and tangents: [ niftools-Bugs-2466995 ]
niTriGeomData->SetBinormals(binormals); niTriGeomData->SetTangents(binormals);
niTriGeomData->SetBinormals(tangents);
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment