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
55ba4bc802
commit
bca2fadc28
@ -155,6 +155,12 @@ void RivFaultGeometryGenerator::computeArrays( bool onlyShowFacesWithDefinedNeig
|
|||||||
|
|
||||||
cvf::Vec3d offset = m_grid->displayModelOffset();
|
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 connIndices = m_fault->connectionIndices();
|
||||||
auto& connections = m_nncData->availableConnections();
|
auto& connections = m_nncData->availableConnections();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user