mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-19 12:14:45 +00:00
Update assimpShapeLoader.cpp
signage still causes issues
This commit is contained in:
parent
a716107dd2
commit
cc17dcdc17
|
|
@ -439,21 +439,6 @@ void AssimpShapeLoader::getRootAxisTransform()
|
|||
}
|
||||
}
|
||||
|
||||
// ===== SIGN FLIP =====
|
||||
if (upSign == -1)
|
||||
{
|
||||
rot(0, 2) = -rot(0, 2);
|
||||
rot(1, 2) = -rot(1, 2);
|
||||
rot(2, 2) = -rot(2, 2);
|
||||
}
|
||||
|
||||
if (frontSign == -1)
|
||||
{
|
||||
rot(0, 1) = -rot(0, 1);
|
||||
rot(1, 1) = -rot(1, 1);
|
||||
rot(2, 1) = -rot(2, 1);
|
||||
}
|
||||
|
||||
ColladaUtils::getOptions().axisCorrectionMat = rot;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue