From c060ff8b41beff3695e464d8d19ccc0f17166422 Mon Sep 17 00:00:00 2001 From: kobewi Date: Tue, 20 Feb 2024 14:53:16 +0100 Subject: [PATCH] Remove error when property is outside inspector --- editor/editor_inspector.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/editor_inspector.cpp b/editor/editor_inspector.cpp index 583a52ed52..1a704f3a15 100644 --- a/editor/editor_inspector.cpp +++ b/editor/editor_inspector.cpp @@ -429,7 +429,7 @@ EditorInspector *EditorProperty::get_parent_inspector() const { } parent = parent->get_parent(); } - ERR_FAIL_V_MSG(nullptr, "EditorProperty is outside inspector."); + return nullptr; } void EditorProperty::set_doc_path(const String &p_doc_path) {