mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-15 16:44:36 +00:00
Update assimpAppNode.cpp
This commit is contained in:
parent
f817d7d903
commit
891ede5d59
1 changed files with 1 additions and 2 deletions
|
|
@ -84,8 +84,7 @@ MatrixF AssimpAppNode::getTransform(F32 time)
|
||||||
// no parent (ie. root level) => scale by global shape <unit>
|
// no parent (ie. root level) => scale by global shape <unit>
|
||||||
mLastTransform.identity();
|
mLastTransform.identity();
|
||||||
mLastTransform.scale(ColladaUtils::getOptions().unit * ColladaUtils::getOptions().formatScaleFactor);
|
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
|
// If this node is animated in the active sequence, fetch the animated transform
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue