#2484 2D Intersection View: 3D Info text: Show only well name, well path name or intersection name

This commit is contained in:
Rebecca Cox
2018-02-20 14:40:47 +01:00
parent b69b15145f
commit 81287ee7cc

View File

@@ -193,15 +193,17 @@ void Rim2dIntersectionView::update3dInfo()
overlayInfoText += "<b>Z-scale:</b> " + QString::number(scaleZ()) + "<br> ";
overlayInfoText += "<b>Intersection:</b> " + m_intersection->name() + "<br>";
if (m_intersection->simulationWell())
{
overlayInfoText += "<b>Simulation Well:</b> " + m_intersection->simulationWell()->name() + "<br>";;
overlayInfoText += "<b>Simulation Well:</b> " + m_intersection->simulationWell()->name() + "<br>";
}
else if (m_intersection->wellPath())
{
overlayInfoText += "<b>Well Path:</b> " + m_intersection->wellPath()->name() + "<br>";;
overlayInfoText += "<b>Well Path:</b> " + m_intersection->wellPath()->name() + "<br>";
}
else
{
overlayInfoText += "<b>Intersection:</b> " + m_intersection->name() + "<br>";
}
if (eclView)