Fault: Show both fault faces in in grid mode to make geometry watertight

This commit is contained in:
Magne Sjaastad
2014-01-08 10:47:41 +01:00
parent dbc357eb39
commit 658a513c7f
2 changed files with 3 additions and 10 deletions

View File

@@ -662,15 +662,8 @@ caf::FaceCulling RivFaultPartMgr::faceCullingMode() const
}
else
{
// Always show cell behind fault if we are in grid visualization mode
if (m_grid->mainGrid()->faceNormalsIsOutwards())
{
return caf::FC_BACK;
}
else
{
return caf::FC_FRONT;
}
// Do not perform face culling in grid mode to make sure the displayed grid is watertight
return caf::FC_NONE;
}
}