mirror of
https://github.com/godotengine/godot.git
synced 2025-10-30 13:11:13 +00:00
Merge pull request #98132 from aaronfranke/editor-plugin-get-plugin-icon-name
Rename internal EditorPlugin icon/name to match exposed methods
This commit is contained in:
commit
02e196eb41
67 changed files with 82 additions and 82 deletions
|
|
@ -2629,7 +2629,7 @@ void EditorNode::_edit_current(bool p_skip_foreign, bool p_skip_inspector_update
|
|||
if (main_plugin && !skip_main_plugin) {
|
||||
// Special case if use of external editor is true.
|
||||
Resource *current_res = Object::cast_to<Resource>(current_obj);
|
||||
if (main_plugin->get_name() == "Script" && current_res && !current_res->is_built_in() && (bool(EDITOR_GET("text_editor/external/use_external_editor")) || overrides_external_editor(current_obj))) {
|
||||
if (main_plugin->get_plugin_name() == "Script" && current_res && !current_res->is_built_in() && (bool(EDITOR_GET("text_editor/external/use_external_editor")) || overrides_external_editor(current_obj))) {
|
||||
if (!changing_scene) {
|
||||
main_plugin->edit(current_obj);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue