From f5f4268b19b1612a0731852922add9f0a7f14cc8 Mon Sep 17 00:00:00 2001 From: Jason Felds Date: Sun, 7 Aug 2011 15:12:44 -0400 Subject: [PATCH] Delays are significant timing changes. Yes, I'm committing while I'm on vacation. Deal with it: I'm in an area with not much to do. --- src/Song.cpp | 2 +- src/Steps.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Song.cpp b/src/Song.cpp index 2c6853245c..2da0c39fcd 100644 --- a/src/Song.cpp +++ b/src/Song.cpp @@ -1515,7 +1515,7 @@ bool Song::IsEditAlreadyLoaded( Steps* pSteps ) const bool Song::HasSignificantBpmChangesOrStops() const { - if( m_SongTiming.HasStops() ) + if( m_SongTiming.HasStops() || m_SongTiming.HasDelays() ) return true; // Don't consider BPM changes that only are only for maintaining sync as diff --git a/src/Steps.cpp b/src/Steps.cpp index 0521f52a20..a1c3999701 100644 --- a/src/Steps.cpp +++ b/src/Steps.cpp @@ -498,7 +498,7 @@ void Steps::SetMeter( int meter ) bool Steps::HasSignificantTimingChanges() const { - if( m_Timing.HasStops() ) + if( m_Timing.HasStops() || m_Timing.HasDelays() ) return true; /* TODO: Deal with DisplayBPM here...if possible?