From 8798387770784cf9f616f5604f09238ec424e7b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn?= Date: Tue, 2 Sep 2025 02:49:32 +0200 Subject: [PATCH] Improve identification of edits on property `Object->script` Narrows down the criteria to determine if the property being edited with the `EditorResourcePicker` is actually the `Object->script` property. --- editor/inspector/editor_resource_picker.cpp | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/editor/inspector/editor_resource_picker.cpp b/editor/inspector/editor_resource_picker.cpp index 141c05498e..ee7db9fc68 100644 --- a/editor/inspector/editor_resource_picker.cpp +++ b/editor/inspector/editor_resource_picker.cpp @@ -778,10 +778,19 @@ bool EditorResourcePicker::_is_type_valid(const String &p_type_name, const HashS } bool EditorResourcePicker::_is_custom_type_script() const { - Ref