Refresh animation toolbar using createDisplayModelAndRedraw()

p4#: 21394
This commit is contained in:
Magne Sjaastad 2013-04-24 07:57:31 +02:00
parent b3c30c1b21
commit 586908b9be

View File

@ -762,20 +762,15 @@ void RimReservoirView::loadDataAndUpdate()
m_reservoirGridPartManager->clearGeometryCache();
syncronizeWellsWithResults();
this->clampCurrentTimestep();
createDisplayModel();
updateDisplayModelVisibility();
createDisplayModelAndRedraw();
if (cameraPosition().isIdentity())
{
setDefaultView();
}
overlayInfoConfig()->update3DInfo();
if (animationMode && m_viewer)
{
m_viewer->slotSetCurrentFrame(m_currentTimeStep);
}
overlayInfoConfig()->update3DInfo();
}