diff --git a/ApplicationCode/ProjectDataModel/RimLegendConfig.cpp b/ApplicationCode/ProjectDataModel/RimLegendConfig.cpp index ccc374eae5..d87bf0a0a5 100644 --- a/ApplicationCode/ProjectDataModel/RimLegendConfig.cpp +++ b/ApplicationCode/ProjectDataModel/RimLegendConfig.cpp @@ -398,7 +398,7 @@ void RimLegendConfig::updateLegend() break; case CATEGORY_INTEGER: m_categoryMapper->setCategoriesWithNames(m_categories, m_categoryNames); - m_categoryMapper->setCycleColors(legendColors); + m_categoryMapper->setInterpolateColors(legendColors); m_currentScalarMapper = m_categoryMapper.p(); break; default: diff --git a/Fwk/AppFwk/cafVizExtensions/cafCategoryMapper.cpp b/Fwk/AppFwk/cafVizExtensions/cafCategoryMapper.cpp index b89c5b6df4..d2539edb21 100644 --- a/Fwk/AppFwk/cafVizExtensions/cafCategoryMapper.cpp +++ b/Fwk/AppFwk/cafVizExtensions/cafCategoryMapper.cpp @@ -41,7 +41,7 @@ void CategoryMapper::setCategoriesWithNames(const std::vector& categoryValu ref colorArr = ScalarMapper::colorTableArray(ColorTable::NORMAL); - setCycleColors(*(colorArr.p())); + setInterpolateColors(*(colorArr.p())); } //--------------------------------------------------------------------------------------------------