mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Refactor connection between cases and views.
Eclipse grid views and contour maps are not longer a child of the case. The views are not separate collections (one for grid and one for contour maps) on root level.
This commit is contained in:
@@ -567,8 +567,7 @@ void RimSimWellInViewCollection::defineUiTreeOrdering( caf::PdmUiTreeOrdering& u
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimSimWellInViewCollection::assignDefaultWellColors()
|
||||
{
|
||||
auto ownerCase = firstAncestorOrThisOfTypeAsserted<RimEclipseCase>();
|
||||
|
||||
auto ownerCase = m_reservoirView->eclipseCase();
|
||||
for ( size_t wIdx = 0; wIdx < wells.size(); ++wIdx )
|
||||
{
|
||||
RimSimWellInView* well = wells[wIdx];
|
||||
|
||||
Reference in New Issue
Block a user