| 4326 | } |
| 4327 | |
| 4328 | bool EditorNode::is_scene_open(const String &p_path) { |
| 4329 | for (int i = 0; i < editor_data.get_edited_scene_count(); i++) { |
| 4330 | if (editor_data.get_scene_path(i) == p_path) { |
| 4331 | return true; |
| 4332 | } |
| 4333 | } |
| 4334 | |
| 4335 | return false; |
| 4336 | } |
| 4337 | |
| 4338 | bool EditorNode::is_multi_window_enabled() const { |
| 4339 | return !SceneTree::get_singleton()->get_root()->is_embedding_subwindows() && !EDITOR_GET("interface/editor/single_window_mode") && EDITOR_GET("interface/multi_window/enable"); |
no test coverage detected