mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
(#667) Intersection visibility will now follow fault visibility
This commit is contained in:
parent
9fff7825af
commit
09c88fb768
@ -302,7 +302,7 @@ void RivCrossSectionPartMgr::generatePartGeometry()
|
|||||||
}
|
}
|
||||||
|
|
||||||
cvf::ref<cvf::Part> part = new cvf::Part;
|
cvf::ref<cvf::Part> part = new cvf::Part;
|
||||||
part->setName("Cross Section ");
|
part->setName("Cross Section");
|
||||||
part->setDrawable(geo.p());
|
part->setDrawable(geo.p());
|
||||||
|
|
||||||
// Set mapping from triangle face index to cell index
|
// Set mapping from triangle face index to cell index
|
||||||
@ -310,7 +310,7 @@ void RivCrossSectionPartMgr::generatePartGeometry()
|
|||||||
part->setSourceInfo(si.p());
|
part->setSourceInfo(si.p());
|
||||||
|
|
||||||
part->updateBoundingBox();
|
part->updateBoundingBox();
|
||||||
part->setEnableMask(surfaceBit);
|
part->setEnableMask(faultBit);
|
||||||
part->setPriority(priCrossSectionGeo);
|
part->setPriority(priCrossSectionGeo);
|
||||||
|
|
||||||
m_crossSectionFaces = part;
|
m_crossSectionFaces = part;
|
||||||
@ -328,11 +328,11 @@ void RivCrossSectionPartMgr::generatePartGeometry()
|
|||||||
}
|
}
|
||||||
|
|
||||||
cvf::ref<cvf::Part> part = new cvf::Part;
|
cvf::ref<cvf::Part> part = new cvf::Part;
|
||||||
part->setName("Cross Section mesh" );
|
part->setName("Cross Section mesh");
|
||||||
part->setDrawable(geoMesh.p());
|
part->setDrawable(geoMesh.p());
|
||||||
|
|
||||||
part->updateBoundingBox();
|
part->updateBoundingBox();
|
||||||
part->setEnableMask(meshSurfaceBit);
|
part->setEnableMask(meshFaultBit);
|
||||||
part->setPriority(priMesh);
|
part->setPriority(priMesh);
|
||||||
|
|
||||||
m_crossSectionGridLines = part;
|
m_crossSectionGridLines = part;
|
||||||
|
Loading…
Reference in New Issue
Block a user