mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
(#395) Fixed bug in viewer
This commit is contained in:
parent
444500f6cc
commit
3086ab10bc
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user