summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkobewi <kobewi4e@gmail.com>2024-02-20 14:53:16 +0100
committerkobewi <kobewi4e@gmail.com>2024-02-20 14:53:16 +0100
commitc060ff8b41beff3695e464d8d19ccc0f17166422 (patch)
treed9bd6bee61684b45391420071da7a09e4a70cef7
parentb7145638d5b235e8e1b2fe039a0cee48a4bbb26d (diff)
downloadredot-engine-c060ff8b41beff3695e464d8d19ccc0f17166422.tar.gz
Remove error when property is outside inspector
-rw-r--r--editor/editor_inspector.cpp2
1 files changed, 1 insertions, 1 deletions
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) {