#3605 Temp LGR. Delete existing temp LGRs when creating new

This commit is contained in:
Bjørn Erik Jensen
2018-11-07 07:46:33 +01:00
parent 7d9c858f13
commit 9b42c9fde6
4 changed files with 19 additions and 1 deletions

View File

@@ -23,6 +23,7 @@
#include "RiaCompletionTypeCalculationScheduler.h"
#include "RiaLogging.h"
#include "RicDeleteTemporaryLgrsFeature.h"
#include "CompletionExportCommands/RicWellPathExportCompletionDataFeature.h"
#include "ExportCommands/RicExportLgrFeature.h"
#include "ExportCommands/RicExportLgrUi.h"
@@ -171,6 +172,8 @@ void RicCreateTemporaryLgrFeature::onActionTriggered(bool isChecked)
auto splitType = dialogData->splitType();
const auto completionTypes = dialogData->completionTypes();
RicDeleteTemporaryLgrsFeature::deleteAllTemporaryLgrs(eclipseCase);
bool intersectingOtherLgrs = false;
for (const auto& wellPath : wellPaths)
{