mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 21:29:33 +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()) {
|
if (!jointsMapped()) {
|
||||||
mapJoints(entity, model->getJointNames());
|
mapJoints(entity, model->getJointNames());
|
||||||
}
|
//else the joint have been mapped before but we have a new animation to load
|
||||||
//else the joints have been mapped before but we have new animation to load
|
} else if (_animation && (_animation->getURL().toString() != entity->getAnimationURL())) {
|
||||||
else if (_animation && (_animation->getURL().toString() != entity->getAnimationURL())) {
|
|
||||||
_animation = DependencyManager::get<AnimationCache>()->getAnimation(entity->getAnimationURL());
|
_animation = DependencyManager::get<AnimationCache>()->getAnimation(entity->getAnimationURL());
|
||||||
_jointMappingCompleted = false;
|
_jointMappingCompleted = false;
|
||||||
mapJoints(entity, model->getJointNames());
|
mapJoints(entity, model->getJointNames());
|
||||||
|
|
Loading…
Reference in a new issue