(#260) Displaying NNC info and intersection point for picked faults when there's no cell index

This commit is contained in:
Pål Hagen
2015-06-30 13:25:11 +02:00
parent 04d70a9204
commit 320b0c62c4
2 changed files with 43 additions and 36 deletions

View File

@@ -327,7 +327,7 @@ void RiuViewerCommands::handlePickAction(int winPosX, int winPosY)
QString pickInfo = "No hits";
QString resultInfo = "";
if (cellIndex != cvf::UNDEFINED_SIZE_T)
if (cellIndex != cvf::UNDEFINED_SIZE_T || nncIndex != cvf::UNDEFINED_SIZE_T)
{
RimEclipseView* eclipseView = dynamic_cast<RimEclipseView*>(m_reservoirView.p());
RimGeoMechView* geomView = dynamic_cast<RimGeoMechView*>(m_reservoirView.p());