#2618 Tensor Vectors: Add arrow length scaling range option for result

This commit is contained in:
Unknown
2018-03-19 11:16:53 +01:00
committed by Rebecca Cox
parent 0583c7a815
commit af4b35b990
5 changed files with 150 additions and 73 deletions
@@ -383,11 +383,11 @@ void RimGeoMechView::updateLegends()
m_viewer->addColorLegendToBottomLeftCorner(cellResult()->legendConfig->legend());
}
updateTensorLegendTextAndRanges(m_tensorResults->legendConfig(), m_currentTimeStep());
updateTensorLegendTextAndRanges(m_tensorResults->arrowColorLegendConfig(), m_currentTimeStep());
if (tensorResults()->vectorColors() == RimTensorResults::RESULT_COLORS && tensorResults()->showTensors())
{
m_viewer->addColorLegendToBottomLeftCorner(m_tensorResults->legendConfig->legend());
m_viewer->addColorLegendToBottomLeftCorner(m_tensorResults->arrowColorLegendConfig->legend());
}
}
}