Simplify.
This commit is contained in:
@@ -178,11 +178,7 @@ void NoteData::CopyRange( const NoteData& from, int rowFromBegin, int rowFromEnd
|
|||||||
|
|
||||||
void NoteData::CopyAll( const NoteData& from )
|
void NoteData::CopyAll( const NoteData& from )
|
||||||
{
|
{
|
||||||
SetNumTracks( from.GetNumTracks() );
|
*this = from;
|
||||||
ClearAll();
|
|
||||||
|
|
||||||
for( int c=0; c<GetNumTracks(); c++ )
|
|
||||||
m_TapNotes[c] = from.m_TapNotes[c];
|
|
||||||
}
|
}
|
||||||
|
|
||||||
bool NoteData::IsRowEmpty( int row ) const
|
bool NoteData::IsRowEmpty( int row ) const
|
||||||
|
|||||||
Reference in New Issue
Block a user