Fix non-bone transforms setting the wrong matrix variable
(cherry picked from commit 838a8b47da73e50fca4ea9ee5abc7c33250bf25d)
This commit is contained in:
@@ -85,7 +85,7 @@ namespace AZ
|
||||
//__debugbreak();
|
||||
}
|
||||
|
||||
aiMatrix4x4 combinedTransform;
|
||||
//aiMatrix4x4 combinedTransform;
|
||||
DataTypes::MatrixType finalMat;
|
||||
|
||||
if (isBone)
|
||||
@@ -171,7 +171,7 @@ namespace AZ
|
||||
}
|
||||
else
|
||||
{
|
||||
combinedTransform = GetConcatenatedLocalTransform(currentNode);
|
||||
finalMat = AssImpSDKWrapper::AssImpTypeConverter::ToTransform(GetConcatenatedLocalTransform(currentNode));
|
||||
}
|
||||
|
||||
//DataTypes::MatrixType localTransform = AssImpSDKWrapper::AssImpTypeConverter::ToTransform(combinedTransform);
|
||||
|
||||
Reference in New Issue
Block a user