Now result colors are correct at first selection

This commit is contained in:
Jacob Støren committed 2015-05-08 15:16:29 +02:00
1 parent d6643d9d35
commit a05c186d34
2 files changed
+6 -2

No files matched your search

@@ -239,6 +239,7 @@ void RimGeoMechView::createDisplayModel()
//--------------------------------------------------------------------------------------------------
void RimGeoMechView::updateCurrentTimeStep()
{
updateLegends();
if ((this->animationMode() && cellResult()->resultFieldName() != ""))
{
m_geoMechVizModel->updateCellResultColor(m_currentTimeStep(), this->cellResult());
@@ -247,6 +248,9 @@ void RimGeoMechView::updateCurrentTimeStep()
{
this->updateStaticCellColors();
}
overlayInfoConfig()->update3DInfo();
}
//--------------------------------------------------------------------------------------------------