From 0dfa815985a29a4c46ee717cfd69b3a4fb8e21d6 Mon Sep 17 00:00:00 2001 From: fkeyz Date: Mon, 22 Sep 2025 01:01:11 +0300 Subject: [PATCH] Fix drag and drop @export variable assignment when script has errors --- editor/script/script_text_editor.cpp | 45 +++++++++++++++++++++------- editor/script/script_text_editor.h | 1 + 2 files changed, 36 insertions(+), 10 deletions(-) diff --git a/editor/script/script_text_editor.cpp b/editor/script/script_text_editor.cpp index 48a49ebaa68..29790790e80 100644 --- a/editor/script/script_text_editor.cpp +++ b/editor/script/script_text_editor.cpp @@ -2263,9 +2263,6 @@ String ScriptTextEditor::_get_dropped_resource_as_exported_member(const Refget_class(); Ref