From c8dc714f7a08e0ca56f9632a9b94e6fdce32e49a Mon Sep 17 00:00:00 2001 From: Javier Serrano Polo Date: Fri, 18 Aug 2006 21:15:39 +0000 Subject: [PATCH] removed disabled tracks git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@345 0778d3d1-df1d-0410-868b-ea421aaaa00d --- src/core/bb_editor.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/core/bb_editor.cpp b/src/core/bb_editor.cpp index 3055c56ff..6ab82c463 100644 --- a/src/core/bb_editor.cpp +++ b/src/core/bb_editor.cpp @@ -239,12 +239,11 @@ bool FASTCALL bbEditor::play( midiTime _start, f_cnt_t _start_frame, _start = ( _start.getTact() % lengthOfBB( _tco_num ) ) * 64 + _start.getTact64th(); - bbTrack * bb_track = bbTrack::findBBTrack( _tco_num, eng() ); trackVector tv = tracks(); for( trackVector::iterator it = tv.begin(); it != tv.end(); ++it ) { - if( !bb_track->isDisabled( *it ) && ( *it )->play( _start, - _start_frame, _frames, _frame_base, _tco_num ) == TRUE ) + if( ( *it )->play( _start, _start_frame, _frames, _frame_base, + _tco_num ) == TRUE ) { played_a_note = TRUE; }