| 888 | } |
| 889 | |
| 890 | void EditorData::set_scene_path(int p_idx, const String &p_path) { |
| 891 | ERR_FAIL_INDEX(p_idx, edited_scene.size()); |
| 892 | edited_scene.write[p_idx].path = p_path; |
| 893 | |
| 894 | if (!edited_scene[p_idx].root) { |
| 895 | return; |
| 896 | } |
| 897 | edited_scene[p_idx].root->set_scene_file_path(p_path); |
| 898 | } |
| 899 | |
| 900 | String EditorData::get_scene_path(int p_idx) const { |
| 901 | ERR_FAIL_INDEX_V(p_idx, edited_scene.size(), String()); |
no test coverage detected