mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#3996 Shift Measurement text box to not overlap with current segment
* Check if line is tending left or tending right and shift box if it is tending left.
This commit is contained in:
@@ -758,7 +758,7 @@ void Rim3dView::addMeasurementToModel(cvf::ModelBasicList* wellPathModelBasicLis
|
||||
else
|
||||
{
|
||||
cvf::ref<caf::DisplayCoordTransform> transForm = displayCoordTransform();
|
||||
m_measurementPartManager->appendGeometryPartsToModel(
|
||||
m_measurementPartManager->appendGeometryPartsToModel(m_viewer->mainCamera(),
|
||||
wellPathModelBasicList, transForm.p(), ownerCase()->allCellsBoundingBox());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user