mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-14 09:22:13 -05:00
#923 Picking of points affects only one list of points
This commit is contained in:
1 parent
8c3f707758
commit
c3816acfbf
1 file changed
+10
-1
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user