mirror of
https://github.com/OPM/ResInsight.git
synced 2025-01-24 15:26:48 -06:00
(#641) Use large priority to make sure the highlight part is rendered after reservoir parts
This commit is contained in:
parent
1208c2f468
commit
40c9b711c2
@ -356,8 +356,10 @@ void RivCrossSectionPartMgr::generatePartGeometry()
|
|||||||
part->setDrawable(polylineGeo.p());
|
part->setDrawable(polylineGeo.p());
|
||||||
|
|
||||||
part->updateBoundingBox();
|
part->updateBoundingBox();
|
||||||
|
part->setPriority(10000);
|
||||||
|
|
||||||
|
// Always show this part, also when mesh is turned off
|
||||||
//part->setEnableMask(meshFaultBit);
|
//part->setEnableMask(meshFaultBit);
|
||||||
//part->setPriority(priMesh);
|
|
||||||
|
|
||||||
cvf::ref<cvf::Effect> eff;
|
cvf::ref<cvf::Effect> eff;
|
||||||
caf::MeshEffectGenerator lineEffGen(cvf::Color3::MAGENTA);
|
caf::MeshEffectGenerator lineEffGen(cvf::Color3::MAGENTA);
|
||||||
|
Loading…
Reference in New Issue
Block a user