#923 Picking of points affects only one list of points

This commit is contained in:
Magne Sjaastad
2016-10-18 12:04:08 +02:00
parent 8c3f707758
commit c3816acfbf
@@ -140,7 +140,6 @@ void RimIntersection::fieldChangedByUi(const caf::PdmFieldHandle* changedField,
m_branchIndex = -1; m_branchIndex = -1;
} }
if (changedField == &simulationWell if (changedField == &simulationWell
|| changedField == &wellPath || changedField == &wellPath
|| changedField == &m_branchIndex) || changedField == &m_branchIndex)
@@ -151,12 +150,22 @@ void RimIntersection::fieldChangedByUi(const caf::PdmFieldHandle* changedField,
if (changedField == &inputPolyLineFromViewerEnabled if (changedField == &inputPolyLineFromViewerEnabled
|| changedField == &m_userPolyline) || changedField == &m_userPolyline)
{ {
if (inputPolyLineFromViewerEnabled)
{
inputExtrusionPointsFromViewerEnabled = false;
}
rebuildGeometryAndScheduleCreateDisplayModel(); rebuildGeometryAndScheduleCreateDisplayModel();
} }
if (changedField == &inputExtrusionPointsFromViewerEnabled if (changedField == &inputExtrusionPointsFromViewerEnabled
|| changedField == &m_customExtrusionPoints) || changedField == &m_customExtrusionPoints)
{ {
if (inputExtrusionPointsFromViewerEnabled)
{
inputPolyLineFromViewerEnabled = false;
}
rebuildGeometryAndScheduleCreateDisplayModel(); rebuildGeometryAndScheduleCreateDisplayModel();
} }
} }