Make sure we track all 3d views when changing active windows in 3d viewer

This commit is contained in:
Jon Jenssen authored and JJ committed 2026-06-19 02:08:49 +02:00
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;