mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#3517 Temp LGR. Add nodes below Grids node. Command for deleting temp LGRs
This commit is contained in:
@@ -46,6 +46,7 @@
|
||||
#include "RimFlowCharacteristicsPlot.h"
|
||||
#include "RimFlowPlotCollection.h"
|
||||
#include "RimFormationNames.h"
|
||||
#include "RimGridCollection.h"
|
||||
#include "RimIntersectionCollection.h"
|
||||
#include "RimRegularLegendConfig.h"
|
||||
#include "RimMainPlotCollection.h"
|
||||
@@ -809,6 +810,17 @@ bool RimEclipseCase::openReserviorCase()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Update grids node
|
||||
{
|
||||
std::vector<RimGridCollection*> gridColls;
|
||||
descendantsIncludingThisOfType(gridColls);
|
||||
if (!gridColls.empty())
|
||||
{
|
||||
gridColls.front()->syncFromMainGrid();
|
||||
}
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user