mirror of
https://github.com/OPM/ResInsight.git
synced 2025-01-20 21:43:20 -06:00
#6936 StimPlanModel: missing update when changing eclipse case or time step in plot.
This commit is contained in:
parent
f6ba901105
commit
f146402864
@ -1444,6 +1444,7 @@ void RimStimPlanModel::setEclipseCaseAndTimeStep( RimEclipseCase* eclipseCase, i
|
|||||||
updateThicknessDirection();
|
updateThicknessDirection();
|
||||||
updateBarrierProperties();
|
updateBarrierProperties();
|
||||||
updateViewsAndPlots();
|
updateViewsAndPlots();
|
||||||
|
updateConnectedEditors();
|
||||||
}
|
}
|
||||||
|
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
|
@ -155,9 +155,14 @@ void RimStimPlanModelPlot::fieldChangedByUi( const caf::PdmFieldHandle* changedF
|
|||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
void RimStimPlanModelPlot::onLoadDataAndUpdate()
|
void RimStimPlanModelPlot::onLoadDataAndUpdate()
|
||||||
{
|
{
|
||||||
// Enable and disable detailed fluid loss curves
|
|
||||||
if ( stimPlanModel() != nullptr )
|
if ( stimPlanModel() != nullptr )
|
||||||
{
|
{
|
||||||
|
// Update eclipse case and time step
|
||||||
|
m_eclipseCase = stimPlanModel()->eclipseCase();
|
||||||
|
m_timeStep = stimPlanModel()->timeStep();
|
||||||
|
updateConnectedEditors();
|
||||||
|
|
||||||
|
// Enable and disable detailed fluid loss curves
|
||||||
std::vector<RiaDefines::CurveProperty> fluidLossCurves = { RiaDefines::CurveProperty::PORO_ELASTIC_CONSTANT,
|
std::vector<RiaDefines::CurveProperty> fluidLossCurves = { RiaDefines::CurveProperty::PORO_ELASTIC_CONSTANT,
|
||||||
RiaDefines::CurveProperty::RELATIVE_PERMEABILITY_FACTOR,
|
RiaDefines::CurveProperty::RELATIVE_PERMEABILITY_FACTOR,
|
||||||
RiaDefines::CurveProperty::THERMAL_EXPANSION_COEFFICIENT,
|
RiaDefines::CurveProperty::THERMAL_EXPANSION_COEFFICIENT,
|
||||||
|
Loading…
Reference in New Issue
Block a user