From 5bde30c17667a3bdf5c5796ab3ac106c0bf40b7d Mon Sep 17 00:00:00 2001 From: AJ Kelly Date: Sat, 29 Oct 2011 21:08:54 -0500 Subject: [PATCH] remove debug logging that I didn't mean to commit --- src/TimingData.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/TimingData.cpp b/src/TimingData.cpp index b1900943cb..285ebc8d40 100644 --- a/src/TimingData.cpp +++ b/src/TimingData.cpp @@ -799,7 +799,6 @@ void TimingData::DeleteRows( int iStartRow, int iRowsToDelete ) float TimingData::GetDisplayedSpeedPercent( float fSongBeat, float fMusicSeconds ) const { - LOG->Trace("[TimingData::GetDisplayedSpeedPercent] begin (beat %f seconds %f)",fSongBeat,fMusicSeconds); /* HACK: Somehow we get called into this function when there is no * TimingData to work with. This seems to happen the most upon * leaving the editor. Still, cover our butts in case this instance @@ -812,19 +811,15 @@ float TimingData::GetDisplayedSpeedPercent( float fSongBeat, float fMusicSeconds return 1.0f; } - LOG->Trace("Getting speed segments"); const vector &speeds = GetTimingSegments(SEGMENT_SPEED); - LOG->Trace("Got speed segments"); if( speeds.size() == 0 ) { LOG->Trace("No speed segments"); return 1.0f; } - LOG->Trace("GetSegmentIndexAtBeat %f",fSongBeat); const int index = GetSegmentIndexAtBeat( SEGMENT_SPEED, fSongBeat ); - LOG->Trace("Making segment from speeds[%i]",index); const SpeedSegment *seg = ToSpeed(speeds[index]); float fStartBeat = seg->GetBeat(); float fStartTime = GetElapsedTimeFromBeat( fStartBeat ) - GetDelayAtBeat( fStartBeat );