From d8192195f4fc53729290a8135ed9fba8b3a5fa90 Mon Sep 17 00:00:00 2001 From: Rodney Date: Apr 11 2023 10:53:33 +0000 Subject: Merge pull request #4824 from shun-iwasawa/fix_deleting_output_node Fix deleting output node --- diff --git a/toonz/sources/include/tundo.h b/toonz/sources/include/tundo.h index 25e34a9..24ee680 100644 --- a/toonz/sources/include/tundo.h +++ b/toonz/sources/include/tundo.h @@ -29,9 +29,9 @@ class DVAPI TUndo { public: // To be called in the last of the block when undo - bool m_isLastInBlock; + bool m_isLastInBlock = true; // To be called in the last of the block when redo - bool m_isLastInRedoBlock; + bool m_isLastInRedoBlock = true; public: TUndo() {}