mirror of
https://github.com/OPM/ResInsight.git
synced 2025-01-08 23:23:01 -06:00
#923 Picking of points affects only one list of points
This commit is contained in:
parent
8c3f707758
commit
c3816acfbf
@ -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();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user