diff --git a/ApplicationCode/Commands/FractureCommands/RicCreateMultipleFracturesFeature.cpp b/ApplicationCode/Commands/FractureCommands/RicCreateMultipleFracturesFeature.cpp index b6124e8ebe..42e81bc374 100644 --- a/ApplicationCode/Commands/FractureCommands/RicCreateMultipleFracturesFeature.cpp +++ b/ApplicationCode/Commands/FractureCommands/RicCreateMultipleFracturesFeature.cpp @@ -33,6 +33,8 @@ #include "RimWellPath.h" #include "RimWellPathFracture.h" #include "RimWellPathFractureCollection.h" +#include "RimEclipseView.h" +#include "RimStimPlanColors.h" #include "Riu3DMainWindowTools.h" @@ -112,6 +114,16 @@ void RicCreateMultipleFracturesFeature::slotAppendFractures() { RimWellPathFractureCollection* fractureCollection = item.wellPath->fractureCollection(); + // If this is the first fracture, set default result name + if (fractureCollection->fractures.empty()) + { + RimEclipseView* activeView = dynamic_cast(RiaApplication::instance()->activeReservoirView()); + if (activeView) + { + activeView->fractureColors()->setDefaultResultName(); + } + } + RimWellPathFracture* fracture = new RimWellPathFracture(); fractureCollection->fractures.push_back(fracture);