mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Refactor: improve api for views and oil fields.
This commit is contained in:
@@ -189,8 +189,7 @@ void RimPolygonCollection::updateViewTreeItems()
|
||||
RimProject* proj = RimProject::current();
|
||||
|
||||
// Make sure the tree items are synchronized
|
||||
std::vector<Rim3dView*> views;
|
||||
proj->allViews( views );
|
||||
std::vector<Rim3dView*> views = proj->allViews();
|
||||
for ( auto view : views )
|
||||
{
|
||||
view->updateViewTreeItems( RiaDefines::ItemIn3dView::POLYGON );
|
||||
|
||||
Reference in New Issue
Block a user