mirror of
https://github.com/godotengine/godot.git
synced 2025-11-10 02:21:15 +00:00
Fix shadowing warning after #52611
This commit is contained in:
parent
23342ac23c
commit
4c3096350f
1 changed files with 0 additions and 1 deletions
|
|
@ -2272,7 +2272,6 @@ void EditorNode::_edit_current(bool p_skip_foreign) {
|
||||||
|
|
||||||
if (main_plugin) {
|
if (main_plugin) {
|
||||||
// special case if use of external editor is true
|
// special case if use of external editor is true
|
||||||
Resource *res = Object::cast_to<Resource>(current_obj);
|
|
||||||
if (main_plugin->get_name() == "Script" && current_obj->get_class_name() != StringName("VisualScript") && res && !res->is_built_in() && (bool(EditorSettings::get_singleton()->get("text_editor/external/use_external_editor")) || overrides_external_editor(current_obj))) {
|
if (main_plugin->get_name() == "Script" && current_obj->get_class_name() != StringName("VisualScript") && res && !res->is_built_in() && (bool(EditorSettings::get_singleton()->get("text_editor/external/use_external_editor")) || overrides_external_editor(current_obj))) {
|
||||||
if (!changing_scene) {
|
if (!changing_scene) {
|
||||||
main_plugin->edit(current_obj);
|
main_plugin->edit(current_obj);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue