From 62c34a6be739cf8b243c03ca2be40d56fcc660c7 Mon Sep 17 00:00:00 2001 From: Yuri Sizov Date: Tue, 30 Nov 2021 17:12:23 +0300 Subject: [PATCH] Fix a crash in editor's script parent class check --- editor/editor_data.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/editor/editor_data.cpp b/editor/editor_data.cpp index 3595e4cc54b..1a184b63d1a 100644 --- a/editor/editor_data.cpp +++ b/editor/editor_data.cpp @@ -869,8 +869,13 @@ bool EditorData::script_class_is_parent(const String &p_class, const String &p_i if (!ScriptServer::is_global_class(p_class)) { return false; } - String base = script_class_get_base(p_class); + Ref