13
0

Remove debug output from last commit.

git-svn-id: svn://localhost/ardour2/branches/3.0@7486 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2010-07-25 00:48:28 +00:00
parent 7b3e1a1061
commit e315945146

View File

@ -428,7 +428,6 @@ void
SMFSource::load_model (bool lock, bool force_reload)
{
if (_writing) {
cout << "early out\n";
return;
}
@ -437,16 +436,12 @@ SMFSource::load_model (bool lock, bool force_reload)
lm = boost::shared_ptr<Glib::Mutex::Lock>(new Glib::Mutex::Lock(_lock));
if (_model && !force_reload) {
cout << "earlyish out\n";
return;
}
if (! _model) {
_model = boost::shared_ptr<MidiModel>(new MidiModel(this));
cerr << _name << " loaded new model " << _model.get() << endl;
} else {
cerr << _name << " reloading model " << _model.get()
<< " (" << _model->n_notes() << " notes)" << endl;
_model->clear();
}