(#395) Fixed bug in viewer

This commit is contained in:
Magne Sjaastad
2015-09-01 11:31:32 +02:00
parent 444500f6cc
commit 3086ab10bc
+1 -1
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;
}