Browse Source

add explicit default initialization for flag in undo redo operation

Valery Zhuk 2 years ago
parent
commit
818cee6184
1 changed files with 1 additions and 1 deletions
  1. 1 1
      core/object/undo_redo.h

+ 1 - 1
core/object/undo_redo.h

@@ -58,7 +58,7 @@ private:
 			TYPE_REFERENCE
 			TYPE_REFERENCE
 		} type;
 		} type;
 
 
-		bool force_keep_in_merge_ends;
+		bool force_keep_in_merge_ends = false;
 		Ref<RefCounted> ref;
 		Ref<RefCounted> ref;
 		ObjectID object;
 		ObjectID object;
 		StringName name;
 		StringName name;