(#395) Fixed bug in viewer

This commit is contained in:
Magne Sjaastad 2015-08-31 13:34:01 +02:00
parent 444500f6cc
commit 3086ab10bc

View File

@ -599,7 +599,7 @@ void caf::Viewer::slotSetCurrentFrame(int frameIndex)
clampedFrameIndex = static_cast<int>(m_frameScenes.size()) - 1;
}
if (frameIndex < 0)
if (clampedFrameIndex < 0)
{
clampedFrameIndex = 0;
}