mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-14 17:32:13 -05:00
Fault results: Show fault color if color mode is selected
This commit is contained in:
1 parent
f3c7c3017c
commit
ecfea98e20
1 file changed
+5
-1
@@ -1994,7 +1994,11 @@ void RimReservoirView::updateFaultColors()
|
||||
|
||||
for (size_t i = 0; i < faultGeometriesToRecolor.size(); ++i)
|
||||
{
|
||||
if (this->animationMode() && this->cellEdgeResult()->hasResult())
|
||||
if (this->faultResultSettings()->visualizationMode() == RimFaultResultSlot::FAULT_COLOR)
|
||||
{
|
||||
m_reservoirGridPartManager->updateFaultColors(faultGeometriesToRecolor[i], m_currentTimeStep, faultResultSlot);
|
||||
}
|
||||
else if (this->animationMode() && this->cellEdgeResult()->hasResult())
|
||||
{
|
||||
m_reservoirGridPartManager->updateFaultCellEdgeResultColor(faultGeometriesToRecolor[i], m_currentTimeStep, faultResultSlot, this->cellEdgeResult());
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user