Browse Source

Merge pull request #78809 from CncealDVRflectN/fix-operation-flag-default-initialiation

Add explicit default initialization for flag in undo redo operation structure
Rémi Verschelde 2 năm trước cách đây
mục cha
commit
ab430b0b4a
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      core/object/undo_redo.h

+ 1 - 1
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<RefCounted> ref;
 		ObjectID object;
 		StringName name;