From b32a76299abe1b64be7ed5325081deef2f96326b Mon Sep 17 00:00:00 2001 From: Z0rb14n Date: Fri, 7 Feb 2025 23:22:03 -0800 Subject: [PATCH] Fix Script Class Icons Not Checking Parent --- editor/editor_data.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/editor_data.cpp b/editor/editor_data.cpp index f31e6aba416..8135a9b9664 100644 --- a/editor/editor_data.cpp +++ b/editor/editor_data.cpp @@ -1023,7 +1023,7 @@ String EditorData::script_class_get_icon_path(const String &p_class, bool *r_val return String(); } HashMap::ConstIterator E = _script_class_icon_paths.find(current); - if ((bool)E) { + if ((bool)E && !E->value.is_empty()) { if (r_valid) { *r_valid = true; }