mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Fixed missing intersection colors when cellresults are turned off
This commit is contained in:
@@ -383,19 +383,13 @@ void RimGeoMechView::onUpdateDisplayModelForCurrentTimeStep()
|
||||
else
|
||||
m_vizLogic->updateStaticCellColors( m_currentTimeStep() );
|
||||
|
||||
if ( this->cellResult()->hasResult() )
|
||||
{
|
||||
m_intersectionCollection->updateCellResultColor( m_currentTimeStep );
|
||||
}
|
||||
else
|
||||
{
|
||||
m_intersectionCollection->applySingleColorEffect();
|
||||
}
|
||||
m_intersectionCollection->updateCellResultColor( this->cellResult()->hasResult(), m_currentTimeStep );
|
||||
}
|
||||
else
|
||||
{
|
||||
m_vizLogic->updateStaticCellColors( -1 );
|
||||
m_intersectionCollection->applySingleColorEffect();
|
||||
|
||||
m_intersectionCollection->updateCellResultColor( false, m_currentTimeStep );
|
||||
|
||||
nativeOrOverrideViewer()->animationControl()->slotPause(); // To avoid animation timer spinning in the background
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user