mirror of
https://github.com/lubosz/overte.git
synced 2025-04-09 14:34:02 +02:00
fix logic in readyToAnimate()
This commit is contained in:
parent
da0d70af3f
commit
3b1b64b057
1 changed files with 1 additions and 1 deletions
|
@ -1078,7 +1078,7 @@ void RenderableModelEntityItem::copyAnimationJointDataToModel() {
|
|||
bool RenderableModelEntityItem::readyToAnimate() const {
|
||||
return resultWithReadLock<bool>([&] {
|
||||
float firstFrame = _animationProperties.getFirstFrame();
|
||||
return (firstFrame <= 0.0f) || (firstFrame <= _animationProperties.getLastFrame());
|
||||
return (firstFrame >= 0.0f) && (firstFrame <= _animationProperties.getLastFrame());
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue