mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Fix typo when generating light NNC colors
This commit is contained in:
@@ -705,8 +705,9 @@ void RivFaultPartMgr::updateNNCColors(size_t timeStepIndex, RimEclipseCellColors
|
||||
cvf::Color3f nncColor = m_defaultColor;
|
||||
nncColor.r() += (1.0 - nncColor.r()) * 0.2;
|
||||
nncColor.g() += (1.0 - nncColor.g()) * 0.2;
|
||||
nncColor.g() += (1.0 - nncColor.b()) * 0.2;
|
||||
nncColor.b() += (1.0 - nncColor.b()) * 0.2;
|
||||
|
||||
CVF_ASSERT(nncColor.isValid());
|
||||
cvf::ref<cvf::Effect> nncEffect;
|
||||
|
||||
if (m_rimFaultCollection->showFaultFaces || m_rimFaultCollection->showOppositeFaultFaces)
|
||||
|
||||
Reference in New Issue
Block a user