#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

View File

@ -140,7 +140,6 @@ void RimIntersection::fieldChangedByUi(const caf::PdmFieldHandle* changedField,
m_branchIndex = -1;
}
if (changedField == &simulationWell
|| changedField == &wellPath
|| changedField == &m_branchIndex)
@ -151,12 +150,22 @@ void RimIntersection::fieldChangedByUi(const caf::PdmFieldHandle* changedField,
if (changedField == &inputPolyLineFromViewerEnabled
|| changedField == &m_userPolyline)
{
if (inputPolyLineFromViewerEnabled)
{
inputExtrusionPointsFromViewerEnabled = false;
}
rebuildGeometryAndScheduleCreateDisplayModel();
}
if (changedField == &inputExtrusionPointsFromViewerEnabled
|| changedField == &m_customExtrusionPoints)
{
if (inputExtrusionPointsFromViewerEnabled)
{
inputPolyLineFromViewerEnabled = false;
}
rebuildGeometryAndScheduleCreateDisplayModel();
}
}