mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
@@ -56,15 +56,10 @@ void RicAppendIntersectionBoxFeature::onActionTriggered(bool isChecked)
|
||||
RimIntersectionBox* intersectionBox = new RimIntersectionBox();
|
||||
intersectionBox->name = QString("Intersection Box");
|
||||
|
||||
RimCase* rimCase = NULL;
|
||||
coll->firstAnchestorOrThisOfType(rimCase);
|
||||
if (rimCase)
|
||||
{
|
||||
intersectionBox->setModelBoundingBox(rimCase->activeCellsBoundingBox());
|
||||
}
|
||||
|
||||
coll->appendIntersectionBox(intersectionBox);
|
||||
|
||||
intersectionBox->setToDefaultSizeBox();
|
||||
|
||||
coll->updateConnectedEditors();
|
||||
RiuMainWindow::instance()->selectAsCurrentItem(intersectionBox);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user