Handling new field "Disable Lighting" in the view (#311)

This commit is contained in:
Stein Dale
2015-06-17 15:07:20 +02:00
parent 4b1a71fd91
commit 8bdb957c8c
7 changed files with 31 additions and 12 deletions

View File

@@ -26,6 +26,7 @@
#include "RimEclipseView.h"
#include "RimGeoMechResultSlot.h"
#include "RimLegendConfig.h"
#include "RimGeoMechView.h"
#include "RivResultToTextureMapper.h"
#include "RivScalarMapperUtils.h"
@@ -278,7 +279,7 @@ void RivFemPartPartMgr::updateCellResultColor(size_t timeStepIndex, RimGeoMechRe
}
}
RivScalarMapperUtils::applyTextureResultsToPart(m_surfaceFaces.p(), m_surfaceFacesTextureCoords.p(), mapper, m_opacityLevel, caf::FC_NONE);
RivScalarMapperUtils::applyTextureResultsToPart(m_surfaceFaces.p(), m_surfaceFacesTextureCoords.p(), mapper, m_opacityLevel, caf::FC_NONE, cellResultSlot->reservoirView()->isLightingDisabled());
}
}