mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#2404 Intersection: Update 3d view when creating new Intersection Box
This commit is contained in:
@@ -100,7 +100,7 @@ void RicAppendIntersectionFeatureCmd::redo()
|
||||
|
||||
RimIntersection* intersection = new RimIntersection();
|
||||
intersection->name = QString("Intersection");
|
||||
m_intersectionCollection->appendIntersection(intersection);
|
||||
m_intersectionCollection->appendIntersectionAndUpdate(intersection);
|
||||
|
||||
RimView* view = nullptr;
|
||||
m_intersectionCollection->firstAncestorOrThisOfTypeAsserted(view);
|
||||
|
||||
@@ -122,7 +122,7 @@ void RicNewAzimuthDipIntersectionFeatureCmd::redo()
|
||||
intersection->setLengthDown(cvf::Math::floor(bBox.extent()[2] / 2));
|
||||
}
|
||||
|
||||
m_intersectionCollection->appendIntersection(intersection);
|
||||
m_intersectionCollection->appendIntersectionAndUpdate(intersection);
|
||||
|
||||
RiuSelectionManager::instance()->deleteAllItems();
|
||||
RiuMainWindow::instance()->selectAsCurrentItem(intersection);
|
||||
|
||||
@@ -112,7 +112,7 @@ void RicNewPolylineIntersectionFeatureCmd::redo()
|
||||
intersection->type = RimIntersection::CS_POLYLINE;
|
||||
intersection->inputPolyLineFromViewerEnabled = true;
|
||||
|
||||
m_intersectionCollection->appendIntersection(intersection);
|
||||
m_intersectionCollection->appendIntersectionAndUpdate(intersection);
|
||||
|
||||
RiuSelectionManager::instance()->deleteAllItems();
|
||||
|
||||
|
||||
@@ -107,7 +107,7 @@ void RicNewSimWellIntersectionCmd::redo()
|
||||
intersection->type = RimIntersection::CS_SIMULATION_WELL;
|
||||
intersection->simulationWell = m_simWell;
|
||||
|
||||
m_intersectionCollection->appendIntersection(intersection);
|
||||
m_intersectionCollection->appendIntersectionAndUpdate(intersection);
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
@@ -116,7 +116,7 @@ void RicNewWellPathIntersectionFeatureCmd::redo()
|
||||
intersection->type = RimIntersection::CS_WELL_PATH;
|
||||
intersection->wellPath = m_wellPath;
|
||||
|
||||
m_intersectionCollection->appendIntersection(intersection);
|
||||
m_intersectionCollection->appendIntersectionAndUpdate(intersection);
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user