mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Janitor: Make sure NNC connections are computed before visibility is evaluated
This commit is contained in:
parent
87780b2b8a
commit
f99bfb04b9
@ -155,6 +155,12 @@ void RivFaultGeometryGenerator::computeArrays( bool onlyShowFacesWithDefinedNeig
|
||||
|
||||
cvf::Vec3d offset = m_grid->displayModelOffset();
|
||||
|
||||
if ( onlyShowFacesWithDefinedNeighbors )
|
||||
{
|
||||
// Make sure the connection polygon is computed, as this is used as criteria for visibility
|
||||
m_nncData->ensureAllConnectionDataIsProcessed();
|
||||
}
|
||||
|
||||
auto connIndices = m_fault->connectionIndices();
|
||||
auto& connections = m_nncData->availableConnections();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user