| 2228 | } |
| 2229 | |
| 2230 | void 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 | |
| 2240 | void EditorNode::save_before_run() { |
| 2241 | current_menu_option = SAVE_AND_RUN; |
no test coverage detected