mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#2436 Separated Hide grid cells mode as a separate value. Make sure that all the possible drawstyles works as expected, both for 2D intersection view and 3D views.
This commit is contained in:
@@ -528,14 +528,14 @@ void RivIntersectionPartMgr::generatePartGeometry()
|
||||
part->setSourceInfo(si.p());
|
||||
|
||||
part->updateBoundingBox();
|
||||
part->setEnableMask(faultBit);
|
||||
part->setEnableMask(intersectionCellFaceBit);
|
||||
part->setPriority(RivPartPriority::PartType::Intersection);
|
||||
|
||||
m_crossSectionFaces = part;
|
||||
}
|
||||
}
|
||||
|
||||
// Mesh geometry
|
||||
// Cell Mesh geometry
|
||||
{
|
||||
cvf::ref<cvf::DrawableGeo> geoMesh = m_crossSectionGenerator->createMeshDrawable();
|
||||
if (geoMesh.notNull())
|
||||
@@ -550,14 +550,14 @@ void RivIntersectionPartMgr::generatePartGeometry()
|
||||
part->setDrawable(geoMesh.p());
|
||||
|
||||
part->updateBoundingBox();
|
||||
part->setEnableMask(meshFaultBit);
|
||||
part->setEnableMask(intersectionCellMeshBit);
|
||||
part->setPriority(RivPartPriority::PartType::MeshLines);
|
||||
|
||||
m_crossSectionGridLines = part;
|
||||
}
|
||||
}
|
||||
|
||||
// Mesh geometry
|
||||
// Fault Mesh geometry
|
||||
{
|
||||
cvf::ref<cvf::DrawableGeo> geoMesh = m_crossSectionGenerator->createFaultMeshDrawable();
|
||||
if (geoMesh.notNull())
|
||||
@@ -572,7 +572,7 @@ void RivIntersectionPartMgr::generatePartGeometry()
|
||||
part->setDrawable(geoMesh.p());
|
||||
|
||||
part->updateBoundingBox();
|
||||
part->setEnableMask(meshFaultBit);
|
||||
part->setEnableMask(intersectionFaultMeshBit);
|
||||
part->setPriority(RivPartPriority::PartType::FaultMeshLines);
|
||||
|
||||
m_crossSectionFaultGridLines = part;
|
||||
|
||||
Reference in New Issue
Block a user