File tree 2 files changed +7
-7
lines changed
2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 150
150
[b]Warning:[/b] Removing and freeing this node will render a part of the editor useless and may cause a crash.
151
151
</description >
152
152
</method >
153
- <method name =" get_open_scenes " qualifiers =" const" >
154
- <return type =" PackedStringArray " />
153
+ <method name =" get_open_scene_roots " qualifiers =" const" >
154
+ <return type =" Array " />
155
155
<description >
156
- Returns an [Array] with the file paths of the currently opened scenes.
156
+ Returns an [Array] with the root nodes of the currently opened scenes.
157
157
</description >
158
158
</method >
159
- <method name =" get_open_scenes_roots " qualifiers =" const" >
160
- <return type =" Array " />
159
+ <method name =" get_open_scenes " qualifiers =" const" >
160
+ <return type =" PackedStringArray " />
161
161
<description >
162
- Returns an [Array] with the root nodes of the currently opened scenes.
162
+ Returns an [Array] with the file paths of the currently opened scenes.
163
163
</description >
164
164
</method >
165
165
<method name =" get_playing_scene" qualifiers =" const" >
Original file line number Diff line number Diff line change @@ -603,7 +603,7 @@ void EditorInterface::_bind_methods() {
603
603
ClassDB::bind_method (D_METHOD (" reload_scene_from_path" , " scene_filepath" ), &EditorInterface::reload_scene_from_path);
604
604
605
605
ClassDB::bind_method (D_METHOD (" get_open_scenes" ), &EditorInterface::get_open_scenes);
606
- ClassDB::bind_method (D_METHOD (" get_open_scenes_roots " ), &EditorInterface::get_open_scenes_roots);
606
+ ClassDB::bind_method (D_METHOD (" get_open_scene_roots " ), &EditorInterface::get_open_scenes_roots);
607
607
ClassDB::bind_method (D_METHOD (" get_edited_scene_root" ), &EditorInterface::get_edited_scene_root);
608
608
609
609
ClassDB::bind_method (D_METHOD (" save_scene" ), &EditorInterface::save_scene);
You can’t perform that action at this time.
0 commit comments