Update assimpAppNode.cpp

This commit is contained in:
marauder2k7 2025-11-25 10:08:34 +00:00
parent f817d7d903
commit 891ede5d59

View file

@ -84,8 +84,7 @@ MatrixF AssimpAppNode::getTransform(F32 time)
// no parent (ie. root level) => scale by global shape <unit>
mLastTransform.identity();
mLastTransform.scale(ColladaUtils::getOptions().unit * ColladaUtils::getOptions().formatScaleFactor);
if (!isBounds())
ColladaUtils::convertTransform(mLastTransform);
ColladaUtils::convertTransform(mLastTransform);
}
// If this node is animated in the active sequence, fetch the animated transform