#8052 StimPlan Model Plot: tweak default shown tracks.

This commit is contained in:
Kristian Bendiksen
2021-09-29 13:47:26 +02:00
parent d1fb845606
commit 6440bd5b8d
3 changed files with 16 additions and 26 deletions

View File

@@ -161,28 +161,6 @@ void RimStimPlanModelPlot::onLoadDataAndUpdate()
m_eclipseCase = stimPlanModel()->eclipseCaseForProperty( RiaDefines::CurveProperty::UNDEFINED );
m_timeStep = stimPlanModel()->timeStep();
updateConnectedEditors();
// Enable and disable detailed fluid loss curves
std::vector<RiaDefines::CurveProperty> fluidLossCurves = { RiaDefines::CurveProperty::PORO_ELASTIC_CONSTANT,
RiaDefines::CurveProperty::RELATIVE_PERMEABILITY_FACTOR,
RiaDefines::CurveProperty::THERMAL_EXPANSION_COEFFICIENT,
RiaDefines::CurveProperty::IMMOBILE_FLUID_SATURATION };
bool detailedFluidLoss = stimPlanModel()->useDetailedFluidLoss();
for ( auto curveProperty : fluidLossCurves )
{
RimWellLogExtractionCurve* curve = findCurveByProperty( curveProperty );
if ( curve )
{
RimWellLogTrack* track = nullptr;
curve->firstAncestorOfType( track );
if ( track )
{
track->setShowWindow( detailedFluidLoss );
}
}
}
}
RimDepthTrackPlot::onLoadDataAndUpdate();