mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#6081 Color Results : Show legends in geomech view
This commit is contained in:
parent
c13f1d752d
commit
cc591aa287
@ -2206,9 +2206,12 @@ std::vector<RimLegendConfig*> RimEclipseView::legendConfigs() const
|
|||||||
absLegends.push_back( wellMeasurement->legendConfig() );
|
absLegends.push_back( wellMeasurement->legendConfig() );
|
||||||
}
|
}
|
||||||
|
|
||||||
for ( auto legendConfig : m_surfaceCollection->legendConfigs() )
|
if ( m_surfaceCollection )
|
||||||
{
|
{
|
||||||
absLegends.push_back( legendConfig );
|
for ( auto legendConfig : m_surfaceCollection->legendConfigs() )
|
||||||
|
{
|
||||||
|
absLegends.push_back( legendConfig );
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return absLegends;
|
return absLegends;
|
||||||
|
@ -525,6 +525,11 @@ void RimGeoMechView::onUpdateLegends()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ( m_surfaceCollection && m_surfaceCollection->isChecked() )
|
||||||
|
{
|
||||||
|
m_surfaceCollection->updateLegendRangesTextAndVisibility( nativeOrOverrideViewer(), isUsingOverrideViewer() );
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -634,6 +639,14 @@ std::vector<RimLegendConfig*> RimGeoMechView::legendConfigs() const
|
|||||||
absLegendConfigs.push_back( wellMeasurement->legendConfig() );
|
absLegendConfigs.push_back( wellMeasurement->legendConfig() );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ( m_surfaceCollection )
|
||||||
|
{
|
||||||
|
for ( auto legendConfig : m_surfaceCollection->legendConfigs() )
|
||||||
|
{
|
||||||
|
absLegendConfigs.push_back( legendConfig );
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
return absLegendConfigs;
|
return absLegendConfigs;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user