(#396) untangled Geomech Result Definition from the use of GeoMechView

In order to reuse the RimGeoMechResultDefinition in the curve data.
This commit is contained in:
Jacob Støren
2015-09-01 17:11:23 +02:00
parent c35e3fceaf
commit 52281633d6
6 changed files with 29 additions and 49 deletions

View File

@@ -288,7 +288,10 @@ void RivFemPartPartMgr::updateCellResultColor(size_t timeStepIndex, RimGeoMechCe
}
}
RivScalarMapperUtils::applyTextureResultsToPart(m_surfaceFaces.p(), m_surfaceFacesTextureCoords.p(), mapper, m_opacityLevel, caf::FC_NONE, cellResultColors->reservoirView()->isLightingDisabled());
RimView* view = NULL;
cellResultColors->firstAnchestorOrThisOfType(view);
RivScalarMapperUtils::applyTextureResultsToPart(m_surfaceFaces.p(), m_surfaceFacesTextureCoords.p(), mapper, m_opacityLevel, caf::FC_NONE, view->isLightingDisabled());
}
}