mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-10 15:36:09 -06:00
Fault: Show both fault faces in in grid mode to make geometry watertight
This commit is contained in:
parent
dbc357eb39
commit
658a513c7f
@ -662,15 +662,8 @@ caf::FaceCulling RivFaultPartMgr::faceCullingMode() const
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
// Always show cell behind fault if we are in grid visualization mode
|
// Do not perform face culling in grid mode to make sure the displayed grid is watertight
|
||||||
if (m_grid->mainGrid()->faceNormalsIsOutwards())
|
return caf::FC_NONE;
|
||||||
{
|
|
||||||
return caf::FC_BACK;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
return caf::FC_FRONT;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -178,7 +178,7 @@ void Rim3dOverlayInfoConfig::update3DInfo()
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
faultMapping = "Show values from cells behind fault";
|
faultMapping = "Show values from cells in front and behind fault";
|
||||||
}
|
}
|
||||||
|
|
||||||
infoText += QString("<b>Fault results: </b> %1<br>").arg(faultMapping);
|
infoText += QString("<b>Fault results: </b> %1<br>").arg(faultMapping);
|
||||||
|
Loading…
Reference in New Issue
Block a user