(#641) Use large priority to make sure the highlight part is rendered after reservoir parts

This commit is contained in:
Magne Sjaastad 2015-11-30 08:21:42 +01:00
parent 1208c2f468
commit 40c9b711c2

View File

@ -356,8 +356,10 @@ void RivCrossSectionPartMgr::generatePartGeometry()
part->setDrawable(polylineGeo.p());
part->updateBoundingBox();
part->setPriority(10000);
// Always show this part, also when mesh is turned off
//part->setEnableMask(meshFaultBit);
//part->setPriority(priMesh);
cvf::ref<cvf::Effect> eff;
caf::MeshEffectGenerator lineEffGen(cvf::Color3::MAGENTA);