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:
parent
7b3e1a1061
commit
e315945146
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user