From 818cee61849ee3343497257285cf2b81700485fc Mon Sep 17 00:00:00 2001 From: Valery Zhuk Date: Wed, 28 Jun 2023 21:57:47 +0300 Subject: [PATCH] add explicit default initialization for flag in undo redo operation --- core/object/undo_redo.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/object/undo_redo.h b/core/object/undo_redo.h index 2ee17867f23..389d8714f76 100644 --- a/core/object/undo_redo.h +++ b/core/object/undo_redo.h @@ -58,7 +58,7 @@ private: TYPE_REFERENCE } type; - bool force_keep_in_merge_ends; + bool force_keep_in_merge_ends = false; Ref ref; ObjectID object; StringName name;