#950 Fixed formation name changes updating for geomech views

This commit is contained in:
Jacob Støren
2016-11-04 15:10:58 +01:00
parent 6d1d6ba1af
commit daa8bae0f1
4 changed files with 68 additions and 3 deletions

View File

@@ -672,7 +672,9 @@ void RimGeoMechView::axisLabels(cvf::String* xLabel, cvf::String* yLabel, cvf::S
//--------------------------------------------------------------------------------------------------
bool RimGeoMechView::isUsingFormationNames() const
{
return cellResult()->hasCategoryResult(); // Correct for now
if (cellResult()->hasCategoryResult()) return true; // Correct for now
return geoMechPropertyFilterCollection()->isUsingFormationNames();
}
//--------------------------------------------------------------------------------------------------