mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Preparing for property filter. #314
Prototype code for property filter visibility Refactoring the VizLogic class to make the responsibilities clearer
This commit is contained in:
@@ -225,7 +225,7 @@ void RimGeoMechView::createDisplayModel()
|
||||
m_viewer->removeAllFrames();
|
||||
|
||||
m_vizLogic->appendNoAnimPartsToModel(frameModels[0].p());
|
||||
m_vizLogic->updateStaticCellColors();
|
||||
m_vizLogic->updateStaticCellColors(-1);
|
||||
|
||||
// Create Scenes from the frameModels
|
||||
// Animation frames for results display, starts from frame 1
|
||||
@@ -296,7 +296,7 @@ void RimGeoMechView::updateCurrentTimeStep()
|
||||
}
|
||||
else
|
||||
{
|
||||
this->updateStaticCellColors();
|
||||
m_vizLogic->updateStaticCellColors(m_currentTimeStep);
|
||||
m_viewer->animationControl()->slotPause(); // To avoid animation timer spinning in the background
|
||||
}
|
||||
|
||||
@@ -308,7 +308,7 @@ void RimGeoMechView::updateCurrentTimeStep()
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimGeoMechView::updateStaticCellColors()
|
||||
{
|
||||
m_vizLogic->updateStaticCellColors();
|
||||
m_vizLogic->updateStaticCellColors(-1);
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user