(#667) Intersection visibility will now follow fault visibility

This commit is contained in:
Magne Sjaastad 2015-11-27 11:23:10 +01:00
parent 9fff7825af
commit 09c88fb768

View File

@ -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;