From d513d73bd226d82eca1d805c36dea79b25ed9e3f Mon Sep 17 00:00:00 2001 From: Jason Felds Date: Mon, 7 Nov 2011 14:59:50 -0500 Subject: [PATCH] Possible fix for bug 584: Don't compress note data in the editor. I need confirmation that this works as intended before it goes into the changelog and whatnot. --- src/Steps.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/Steps.cpp b/src/Steps.cpp index f706ed1ece..fddc50cf3c 100644 --- a/src/Steps.cpp +++ b/src/Steps.cpp @@ -379,6 +379,12 @@ void Steps::Compress() const m_sNoteDataCompressed = RString(); return; } + + // Don't compress data in the editor: it's still in use. + if (GAMESTATE->m_bInStepEditor) + { + return; + } if( !m_sFilename.empty() && m_LoadedFromProfile == ProfileSlot_Invalid ) {