diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2011-02-21 03:22:14 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2011-02-21 03:22:14 +0000 |
commit | fd252ba19c84710f892d1fb8ca90e738956c4f97 (patch) | |
tree | 57616bb3cfa3046d105d8ae354b9d213c139465b /gtk2_ardour/editor_ops.cc | |
parent | f204206ff914200b132935d0fb1a8c84c2cf2284 (diff) |
c&p debug
git-svn-id: svn://localhost/ardour2/branches/3.0@8917 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor_ops.cc')
-rw-r--r-- | gtk2_ardour/editor_ops.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gtk2_ardour/editor_ops.cc b/gtk2_ardour/editor_ops.cc index cd3ab010a8..bcae625c9d 100644 --- a/gtk2_ardour/editor_ops.cc +++ b/gtk2_ardour/editor_ops.cc @@ -58,6 +58,7 @@ #include "ardour/operations.h" #include "ardour_ui.h" +#include "debug.h" #include "editor.h" #include "time_axis_view.h" #include "route_time_axis.h" @@ -4131,6 +4132,7 @@ Editor::cut_copy_ranges (CutCopyOp op) void Editor::paste (float times) { + DEBUG_TRACE (DEBUG::CutNPaste, "paste to preferred edit pos\n"); paste_internal (get_preferred_edit_position(), times); } @@ -4153,6 +4155,8 @@ Editor::paste_internal (framepos_t position, float times) { bool commit = false; + DEBUG_TRACE (DEBUG::CutNPaste, string_compose ("apparent paste position is %1\n", position)); + if (internal_editing()) { if (cut_buffer->midi_notes.empty()) { return; @@ -4165,6 +4169,7 @@ Editor::paste_internal (framepos_t position, float times) if (position == max_framepos) { position = get_preferred_edit_position(); + DEBUG_TRACE (DEBUG::CutNPaste, string_compose ("preferred edit position is %1\n", position)); } begin_reversible_command (Operations::paste); |