From 7154baa01018bfabcf9418d8e0cc7788700f9146 Mon Sep 17 00:00:00 2001 From: "Daniel J. Ramirez" Date: Fri, 17 Nov 2017 14:22:27 -0600 Subject: [PATCH] Avoid spamming the console for editor settings initial sets. --- editor/editor_settings.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/editor/editor_settings.cpp b/editor/editor_settings.cpp index bf4ef3ae394..165c0691fb5 100644 --- a/editor/editor_settings.cpp +++ b/editor/editor_settings.cpp @@ -922,7 +922,8 @@ void EditorSettings::raise_order(const String &p_setting) { void EditorSettings::set_initial_value(const StringName &p_setting, const Variant &p_value) { - ERR_FAIL_COND(!props.has(p_setting)); + if (!props.has(p_setting)) + return; props[p_setting].initial = p_value; props[p_setting].initial_set = true; }