#1242 Do not use transparency on ellipse, default transparency set to 1.0

This commit is contained in:
Magne Sjaastad
2017-02-23 11:25:21 +01:00
parent 7f75f7e509
commit f59c4b4b9e
3 changed files with 24 additions and 5 deletions

View File

@@ -94,14 +94,12 @@ void RivWellFracturePartMgr::updatePartGeometry(caf::DisplayCoordTransform* disp
RimEclipseView* activeView = dynamic_cast<RimEclipseView*>(RiaApplication::instance()->activeReservoirView());
if (activeView)
{
fractureColor = cvf::Color4f(activeView->stimPlanColors->defaultColor(), activeView->stimPlanColors->opacityLevel());
fractureColor = cvf::Color4f(activeView->stimPlanColors->defaultColor());
}
caf::SurfaceEffectGenerator surfaceGen(fractureColor, caf::PO_1);
cvf::ref<cvf::Effect> eff = surfaceGen.generateCachedEffect();
m_part->setEffect(eff.p());
m_part->setPriority(RivPartPriority::PartType::Transparent);
}
}