mirror of
https://github.com/OPM/ResInsight.git
synced 2025-01-09 15:43:07 -06:00
#8649 Contour Map: Show static data for all time steps.
This commit is contained in:
parent
ffc1769a5f
commit
ca769a53d4
@ -219,8 +219,11 @@ std::vector<double> RimEclipseContourMapProjection::generateResults( int timeSte
|
||||
}
|
||||
gridResultValues = calculateColumnResult( m_resultAggregation() );
|
||||
}
|
||||
else if ( !( cellColors->hasStaticResult() && timeStep > 0 ) )
|
||||
else
|
||||
{
|
||||
if ( cellColors->hasStaticResult() && timeStep > 0 ) timeStep = 0;
|
||||
|
||||
|
||||
m_currentResultName = cellColors->resultVariable();
|
||||
RigEclipseResultAddress resAddr( cellColors->resultType(),
|
||||
cellColors->resultVariable(),
|
||||
|
@ -169,6 +169,16 @@ void RimEclipseContourMapView::initAfterRead()
|
||||
scheduleCreateDisplayModelAndRedraw();
|
||||
}
|
||||
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
bool RimEclipseContourMapView::isTimeStepDependentDataVisible() const
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
@ -58,6 +58,8 @@ protected:
|
||||
void onLoadDataAndUpdate() override;
|
||||
void fieldChangedByUi( const caf::PdmFieldHandle* changedField, const QVariant& oldValue, const QVariant& newValue ) override;
|
||||
|
||||
bool isTimeStepDependentDataVisible() const override;
|
||||
|
||||
caf::PdmFieldHandle* userDescriptionField() override;
|
||||
|
||||
std::set<RivCellSetEnum> allVisibleFaultGeometryTypes() const override;
|
||||
|
Loading…
Reference in New Issue
Block a user