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:
@@ -2206,9 +2206,12 @@ std::vector<RimLegendConfig*> RimEclipseView::legendConfigs() const
|
||||
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;
|
||||
|
||||
Reference in New Issue
Block a user