mirror of
https://github.com/overte-org/overte.git
synced 2025-04-19 06:17:38 +02:00
fixed coding standards in RenderableModelEntityItem.cpp
This commit is contained in:
parent
1c97272767
commit
961ed88fb0
1 changed files with 2 additions and 3 deletions
|
@ -1397,9 +1397,8 @@ void ModelEntityRenderer::doRenderUpdateSynchronousTyped(const ScenePointer& sce
|
|||
|
||||
if (!jointsMapped()) {
|
||||
mapJoints(entity, model->getJointNames());
|
||||
}
|
||||
//else the joints have been mapped before but we have new animation to load
|
||||
else if (_animation && (_animation->getURL().toString() != entity->getAnimationURL())) {
|
||||
//else the joint have been mapped before but we have a new animation to load
|
||||
} else if (_animation && (_animation->getURL().toString() != entity->getAnimationURL())) {
|
||||
_animation = DependencyManager::get<AnimationCache>()->getAnimation(entity->getAnimationURL());
|
||||
_jointMappingCompleted = false;
|
||||
mapJoints(entity, model->getJointNames());
|
||||
|
|
Loading…
Reference in a new issue