mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-26 07:00:17 -05:00
Make sure we track all 3d views when changing active windows in 3d viewer
This commit is contained in:
1 parent
13fdf40a36
commit
113c39a02e
1 file changed
+2
-2
@@ -1208,9 +1208,9 @@ std::vector<RimViewWindow*> RiuMainWindow::viewWindows()
|
||||
{
|
||||
std::vector<RimViewWindow*> views;
|
||||
|
||||
for ( auto v : RimProject::current()->allViews() )
|
||||
for ( auto v : RimProject::current()->descendantsOfType<Rim3dView>() )
|
||||
{
|
||||
views.push_back( v );
|
||||
if ( v->dockWidget() ) views.push_back( v );
|
||||
}
|
||||
|
||||
return views;
|
||||
|
||||
Reference in new issue
Block a user