From c6d53ac2fe34ea4f52c31a335d675137ed3dc795 Mon Sep 17 00:00:00 2001 From: Jeremy Bullock Date: Aug 28 2017 05:55:11 +0000 Subject: Fix for Preset Crash (#1440) close #1438 --- diff --git a/toonz/sources/tnztools/brushtool.cpp b/toonz/sources/tnztools/brushtool.cpp index 5b520ab..dac975a 100644 --- a/toonz/sources/tnztools/brushtool.cpp +++ b/toonz/sources/tnztools/brushtool.cpp @@ -2565,10 +2565,13 @@ void BrushData::saveData(TOStream &os) { os.closeChild(); os.openChild("Miter"); os << m_miter; + os.closeChild(); os.openChild("Frame_Range"); os << (int)m_frameRange; + os.closeChild(); os.openChild("Snap"); os << (int)m_snap; + os.closeChild(); os.openChild("SnapSensitivity"); os << (int)m_snapSensitivity; os.closeChild();