improved tempo-automation import

git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1323 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
Tobias Doerffel
2008-07-18 10:06:44 +00:00
parent 0de1e6ffd3
commit acbbf827b8

View File

@@ -180,12 +180,8 @@ invalid_format:
// try to set default tempo
automationPattern * tap = _tc->tempoAutomationPattern();
if( tap != NULL )
{
#warning BLAH
// tap->firstObject()->setValue( 120 );
tap->putValue( 0, 120 );
}
tap->clear();
tap->putValue( 0, 120 );
// read tracks
for( int i = 0; i < num_tracks; ++i )