mirror of
https://github.com/OPM/ResInsight.git
synced 2026-09-03 20:53:13 -05:00
#923 Picking of points affects only one list of points
This commit is contained in:
@@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user