summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2010-06-24 19:46:28 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2010-06-24 19:46:28 +0000
commit806a22fefe8bc79c0307a6c3f6bfbde1185e7574 (patch)
tree52f091c939865daf2c42e1ede1e0b29502ee667b /libs
parentde24d4f8b11b959a5155051a9f4a7b456b4ab465 (diff)
change note colors on the fly, to permit user-definition of colors more easily; remove some debug output
git-svn-id: svn://localhost/ardour2/branches/3.0@7301 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs')
-rw-r--r--libs/ardour/midi_model.cc2
-rw-r--r--libs/ardour/session_state.cc2
-rw-r--r--libs/pbd/undo.cc3
3 files changed, 0 insertions, 7 deletions
diff --git a/libs/ardour/midi_model.cc b/libs/ardour/midi_model.cc
index a95c095803..57cbb70cfd 100644
--- a/libs/ardour/midi_model.cc
+++ b/libs/ardour/midi_model.cc
@@ -366,7 +366,6 @@ MidiModel::DiffCommand::side_effect_remove(const NotePtr note)
state once this is done.
*/
- cerr << "This undo has " << side_effect_removals.size() << " SER's to be re-added\n";
for (set<NotePtr>::iterator i = side_effect_removals.begin(); i != side_effect_removals.end(); ++i) {
_model->add_note_unlocked (*i);
}
@@ -709,7 +708,6 @@ MidiModel::DiffCommand::side_effect_remove(const NotePtr note)
if (side_effect_notes) {
XMLNodeList notes = side_effect_notes->children();
- cerr << "Reconstruct DiffCommand with " << notes.size() << " SER's\n";
for (XMLNodeList::iterator n = notes.begin(); n != notes.end(); ++n) {
side_effect_removals.insert (unmarshal_note (*n));
}
diff --git a/libs/ardour/session_state.cc b/libs/ardour/session_state.cc
index c94fa7b976..2842357db8 100644
--- a/libs/ardour/session_state.cc
+++ b/libs/ardour/session_state.cc
@@ -2329,8 +2329,6 @@ Session::commit_reversible_command(Command *cmd)
gettimeofday(&now, 0);
_current_trans.top()->set_timestamp(now);
- cerr << "add cmd @ " << _current_trans.top() << " to history\n";
-
_history.add(_current_trans.top());
_current_trans.pop();
}
diff --git a/libs/pbd/undo.cc b/libs/pbd/undo.cc
index 71a5d1e263..120f62c351 100644
--- a/libs/pbd/undo.cc
+++ b/libs/pbd/undo.cc
@@ -47,7 +47,6 @@ UndoTransaction::UndoTransaction (const UndoTransaction& rhs)
UndoTransaction::~UndoTransaction ()
{
- cerr << "UndoTransaction destroyed\n";
drop_references ();
clear ();
}
@@ -55,8 +54,6 @@ UndoTransaction::~UndoTransaction ()
void
command_death (UndoTransaction* ut, Command* c)
{
- cerr << "Command drop ref\n";
-
if (ut->clearing()) {
return;
}