mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#7339 StimPlanFracture: Add methods to use two grids for data extraction.
This commit is contained in:
@@ -65,7 +65,7 @@ RimStimPlanModelPlot::RimStimPlanModelPlot()
|
||||
void RimStimPlanModelPlot::setStimPlanModel( RimStimPlanModel* stimPlanModel )
|
||||
{
|
||||
m_stimPlanModel = stimPlanModel;
|
||||
m_eclipseCase = stimPlanModel->eclipseCase();
|
||||
m_eclipseCase = stimPlanModel->eclipseCaseForProperty( RiaDefines::CurveProperty::UNDEFINED );
|
||||
m_timeStep = stimPlanModel->timeStep();
|
||||
|
||||
m_nameConfig->setCustomName( stimPlanModel->name() );
|
||||
@@ -158,7 +158,7 @@ void RimStimPlanModelPlot::onLoadDataAndUpdate()
|
||||
if ( stimPlanModel() != nullptr )
|
||||
{
|
||||
// Update eclipse case and time step
|
||||
m_eclipseCase = stimPlanModel()->eclipseCase();
|
||||
m_eclipseCase = stimPlanModel()->eclipseCaseForProperty( RiaDefines::CurveProperty::UNDEFINED );
|
||||
m_timeStep = stimPlanModel()->timeStep();
|
||||
updateConnectedEditors();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user