mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 12:04:18 +02:00
Made Code abit more concise for better compilation
This commit is contained in:
parent
119a2703f7
commit
856452405e
1 changed files with 4 additions and 6 deletions
|
@ -909,13 +909,11 @@ void ModelEntityRenderer::animate(const TypedEntityPointer& entity) {
|
|||
QVector<JointData> jointsData;
|
||||
|
||||
const QVector<FBXAnimationFrame>& frames = _animation->getFramesReference(); // NOTE: getFrames() is too heavy
|
||||
auto& animationGeometry = _animation->getGeometry();
|
||||
auto& animationJointNames = animationGeometry.getJointNames();
|
||||
auto& fbxJoints = animationGeometry.joints;
|
||||
QStringList animationJointNames = _animation->getGeometry().getJointNames();
|
||||
auto& fbxJoints = _animation->getGeometry().joints;
|
||||
|
||||
auto& originalFbx = _model->getFBXGeometry();
|
||||
auto& originalFbxJoints = originalFbx.joints;
|
||||
auto& originalFbxIndices = originalFbx.jointIndices;
|
||||
auto& originalFbxJoints = _model->getFBXGeometry().joints;
|
||||
auto& originalFbxIndices = _model->getFBXGeometry().jointIndices;
|
||||
|
||||
bool allowTranslation = entity->getAnimationAllowTranslation();
|
||||
int frameCount = frames.size();
|
||||
|
|
Loading…
Reference in a new issue