#7893 StimPlanModelPlot: Select correct case for facies region annotations

This commit is contained in:
Kristian Bendiksen
2021-08-27 10:25:08 +02:00
parent b78cf3a4bb
commit 9e1ef0e7e0

View File

@@ -23,6 +23,7 @@
#include "RiaGuiApplication.h"
#include "RiaLogging.h"
#include "RiaStimPlanModelDefines.h"
#include "WellLogCommands/RicNewWellLogPlotFeatureImpl.h"
#include "RigWellPath.h"
@@ -81,8 +82,9 @@ RimStimPlanModelPlot* RicNewStimPlanModelPlotFeature::createPlot( RimStimPlanMod
}
{
auto task = progInfo.task( "Creating facies track", 2 );
createFaciesTrack( plot, stimPlanModel, eclipseCase );
auto task = progInfo.task( "Creating facies track", 2 );
RimEclipseCase* faciesEclipseCase = stimPlanModel->eclipseCaseForProperty( RiaDefines::CurveProperty::FACIES );
createFaciesTrack( plot, stimPlanModel, faciesEclipseCase );
}
{