diff --git a/ApplicationCode/GeoMech/GeoMechVisualization/RivFemPartPartMgr.cpp b/ApplicationCode/GeoMech/GeoMechVisualization/RivFemPartPartMgr.cpp index 85c6d6312e..ffef4141e6 100644 --- a/ApplicationCode/GeoMech/GeoMechVisualization/RivFemPartPartMgr.cpp +++ b/ApplicationCode/GeoMech/GeoMechVisualization/RivFemPartPartMgr.cpp @@ -244,7 +244,7 @@ void RivFemPartPartMgr::updateCellResultColor(size_t timeStepIndex, RimGeoMechRe else if ( cellResultSlot->resultPositionType() == RIG_ELEMENT_NODAL || cellResultSlot->resultPositionType() == RIG_INTEGRATION_POINT) { - vxToResultMapping = &(m_surfaceGenerator.quadVerticesToNodeIdxMapping()); + vxToResultMapping = &(m_surfaceGenerator.quadVerticesToGlobalElmNodeIdx()); } m_surfaceFacesTextureCoords->resize(vxToResultMapping->size());