Update linked views when animation slider is moved

This commit is contained in:
Magne Sjaastad 2023-01-23 14:40:19 +01:00
parent 50b1820b60
commit f48eca9ef5

View File

@ -1904,7 +1904,7 @@ void RiuMainWindow::slotAnimationSliderMoved( int newValue )
{
if ( RiaApplication::instance()->activeReservoirView() && RiaApplication::instance()->activeReservoirView()->viewer() )
{
RiaApplication::instance()->activeReservoirView()->viewer()->setCurrentFrame( newValue );
RiaApplication::instance()->activeReservoirView()->viewer()->slotSetCurrentFrame( newValue );
}
m_animationToolBar->setCurrentTimeStepIndex( newValue );
}