Merge pull request #97838 from CycloneRing/get_open_scenes_roots

EditorInterface: Add `get_open_scene_roots` to retrieve all opened scenes root nodes
This commit is contained in:
Thaddeus Crews 2025-03-11 09:34:40 -05:00
commit fe778d2745
No known key found for this signature in database
GPG key ID: 62181B86FE9E5D84
3 changed files with 25 additions and 5 deletions

View file

@ -170,6 +170,7 @@ public:
void reload_scene_from_path(const String &scene_path);
PackedStringArray get_open_scenes() const;
TypedArray<Node> get_open_scene_roots() const;
Node *get_edited_scene_root() const;
Error save_scene();