Skip to content

Commit

Permalink
Merge pull request #78809 from CncealDVRflectN/fix-operation-flag-def…
Browse files Browse the repository at this point in the history
…ault-initialiation

Add explicit default initialization for flag in undo redo operation structure
  • Loading branch information
akien-mga committed Jun 29, 2023
2 parents 16dd4e5 + 818cee6 commit ab430b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/object/undo_redo.h
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ class UndoRedo : public Object {
TYPE_REFERENCE
} type;

bool force_keep_in_merge_ends;
bool force_keep_in_merge_ends = false;
Ref<RefCounted> ref;
ObjectID object;
StringName name;
Expand Down

0 comments on commit ab430b0

Please sign in to comment.