mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#817 Regenerate geometry when intersection box is deleted
This commit is contained in:
parent
633b0a136a
commit
259df01e0a
@ -22,9 +22,10 @@
|
||||
#include "RicDeleteItemExecData.h"
|
||||
|
||||
#include "RimCellRangeFilterCollection.h"
|
||||
#include "RimIntersectionCollection.h"
|
||||
#include "RimEclipsePropertyFilterCollection.h"
|
||||
#include "RimGeoMechPropertyFilterCollection.h"
|
||||
#include "RimIntersectionBoxCollection.h"
|
||||
#include "RimIntersectionCollection.h"
|
||||
#include "RimProject.h"
|
||||
#include "RimView.h"
|
||||
#include "RimViewLinkerCollection.h"
|
||||
@ -110,6 +111,13 @@ void RicDeleteItemExec::redo()
|
||||
view->scheduleCreateDisplayModelAndRedraw();
|
||||
}
|
||||
|
||||
RimIntersectionBoxCollection* intersectionBoxColl;
|
||||
parentObj->firstAnchestorOrThisOfType(intersectionBoxColl);
|
||||
if (view && intersectionBoxColl)
|
||||
{
|
||||
view->scheduleCreateDisplayModelAndRedraw();
|
||||
}
|
||||
|
||||
RimWellPathCollection* wellPathColl;
|
||||
parentObj->firstAnchestorOrThisOfType(wellPathColl);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user