diff --git a/editor/editor_properties.cpp b/editor/editor_properties.cpp index c0de0c280c0..2064e22e3e4 100644 --- a/editor/editor_properties.cpp +++ b/editor/editor_properties.cpp @@ -30,6 +30,7 @@ #include "editor_properties.h" +#include "core/core_string_names.h" #include "editor/editor_resource_preview.h" #include "editor/filesystem_dock.h" #include "editor/project_settings_editor.h" @@ -2617,8 +2618,11 @@ void EditorPropertyResource::_resource_selected(const RES &p_resource, bool p_ed void EditorPropertyResource::_resource_changed(const RES &p_resource) { // Make visual script the correct type. Ref