Fixed missing update of the 3D view after deleting statistic results

p4#: 21894
This commit is contained in:
Jacob Støren
2013-06-12 13:42:36 +02:00
parent 03ad142261
commit 6f04f70ade
4 changed files with 29 additions and 22 deletions

View File

@@ -527,7 +527,7 @@ void RimReservoirView::createDisplayModel()
timeStepIndices.push_back(0);
}
updateLegends();
cvf::Collection<cvf::ModelBasicList> frameModels;
size_t timeIdx;
@@ -644,6 +644,8 @@ void RimReservoirView::createDisplayModel()
m_viewer->slotSetCurrentFrame(m_currentTimeStep);
}
overlayInfoConfig()->update3DInfo();
updateLegends();
}
@@ -848,7 +850,6 @@ void RimReservoirView::loadDataAndUpdate()
setDefaultView();
}
overlayInfoConfig()->update3DInfo();
}
@@ -1443,8 +1444,6 @@ void RimReservoirView::updateDisplayModelForWellResults()
createDisplayModel();
updateDisplayModelVisibility();
overlayInfoConfig()->update3DInfo();
if (animationMode && m_viewer)
{
m_viewer->slotSetCurrentFrame(m_currentTimeStep);