fix logic in readyToAnimate()

This commit is contained in:
Andrew Meadows 2018-10-02 18:25:40 -07:00
parent da0d70af3f
commit 3b1b64b057

View file

@ -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());
});
}