mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#2575 Use Integration Point to calculate elm avg tensor
This commit is contained in:
@@ -421,8 +421,7 @@ void RimGeoMechView::updateTensorLegendTextAndRanges(RimLegendConfig* legendConf
|
||||
legendConfig->setClosestToZeroValues(globalPosClosestToZero, globalNegClosestToZero, localPosClosestToZero, localNegClosestToZero);
|
||||
legendConfig->setAutomaticRanges(globalMin, globalMax, localMin, localMax);
|
||||
|
||||
QString legendTitle = "Tensors:\n" + caf::AppEnum<RigFemResultPosEnum>(tensorResults()->resultPositionType()).uiText() + "\n"
|
||||
+ tensorResults()->resultFieldName();
|
||||
QString legendTitle = "Tensors:\n" + RimTensorResults::uiFieldName(resFieldName);
|
||||
|
||||
legendConfig->setTitle(legendTitle);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user