MCPcopy Create free account
hub / github.com/Redot-Engine/redot-engine / save_scene_list

Method save_scene_list

editor/editor_node.cpp:2230–2238  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2228}
2229
2230void EditorNode::save_scene_list(const HashSet<String> &p_scene_paths) {
2231 for (int i = 0; i < editor_data.get_edited_scene_count(); i++) {
2232 Node *scene = editor_data.get_edited_scene_root(i);
2233
2234 if (scene && p_scene_paths.has(scene->get_scene_file_path())) {
2235 _save_scene(scene->get_scene_file_path(), i);
2236 }
2237 }
2238}
2239
2240void EditorNode::save_before_run() {
2241 current_menu_option = SAVE_AND_RUN;

Callers 3

_modify_referencesMethod · 0.80
save_all_scriptsMethod · 0.80
_before_moveMethod · 0.80

Calls 4

get_scene_file_pathMethod · 0.80
get_edited_scene_rootMethod · 0.45
hasMethod · 0.45

Tested by

no test coverage detected