| 4096 | } |
| 4097 | |
| 4098 | bool EditorNode::is_addon_plugin_enabled(const String &p_addon) const { |
| 4099 | if (p_addon.begins_with("res://")) { |
| 4100 | return addon_name_to_plugin.has(p_addon); |
| 4101 | } |
| 4102 | |
| 4103 | return addon_name_to_plugin.has("res://addons/" + p_addon + "/plugin.cfg"); |
| 4104 | } |
| 4105 | |
| 4106 | void EditorNode::_remove_edited_scene(bool p_change_tab) { |
| 4107 | hide_unused_editors(SceneTreeDock::get_singleton()); |
no test coverage detected