mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#4857 Avoid switching active view when creating intersectinos
This commit is contained in:
parent
11f42fcc7b
commit
ce28f1e858
@ -128,7 +128,7 @@ void RicCopyIntersectionsToAllViewsInCaseFeature::copyIntersectionsToOtherViews(
|
||||
intersection->xmlCapability()->copyByXmlSerialization( caf::PdmDefaultObjectFactory::instance() ) );
|
||||
CVF_ASSERT( copy );
|
||||
|
||||
destCollection->appendIntersectionAndUpdate( copy );
|
||||
destCollection->appendIntersectionAndUpdate( copy, false );
|
||||
|
||||
// Resolve references after object has been inserted into the project data model
|
||||
copy->resolveReferencesRecursively();
|
||||
|
@ -119,7 +119,7 @@ void RicNewAzimuthDipIntersectionFeatureCmd::redo()
|
||||
intersection->setLengthDown( cvf::Math::floor( bBox.extent()[2] / 2 ) );
|
||||
}
|
||||
|
||||
m_intersectionCollection->appendIntersectionAndUpdate( intersection );
|
||||
m_intersectionCollection->appendIntersectionAndUpdate( intersection, false );
|
||||
|
||||
Riu3dSelectionManager::instance()->deleteAllItems();
|
||||
Riu3DMainWindowTools::selectAsCurrentItem( intersection, false );
|
||||
|
@ -106,7 +106,7 @@ void RicNewSimWellIntersectionCmd::redo()
|
||||
intersection->type = RimIntersection::CS_SIMULATION_WELL;
|
||||
intersection->simulationWell = m_simWell;
|
||||
|
||||
m_intersectionCollection->appendIntersectionAndUpdate( intersection );
|
||||
m_intersectionCollection->appendIntersectionAndUpdate( intersection, false );
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
@ -94,7 +94,7 @@ void RicPasteIntersectionsFeature::onActionTriggered( bool isChecked )
|
||||
|
||||
if ( i == intersectionObjects.size() - 1 )
|
||||
{
|
||||
intersectionCollection->appendIntersectionAndUpdate( intersection );
|
||||
intersectionCollection->appendIntersectionAndUpdate( intersection, false );
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user