diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2010-04-22 13:42:49 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2010-04-22 13:42:49 +0000 |
commit | 622e8c5b24cba7d7b00b33519785c1c166f1f66c (patch) | |
tree | 5bdb26571b5688c3c74c328cda534bcfe8c1fb02 /gtk2_ardour | |
parent | 5a33e0900cd83469330885404d1b1897f1aa1617 (diff) |
multiple touches in a single automation pass now work; write mode works (with some interesting quirks); remove some debug output
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@6963 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour')
-rw-r--r-- | gtk2_ardour/automation_line.cc | 3 | ||||
-rw-r--r-- | gtk2_ardour/automation_line.h | 3 |
2 files changed, 3 insertions, 3 deletions
diff --git a/gtk2_ardour/automation_line.cc b/gtk2_ardour/automation_line.cc index 47e5333c52..94273626c3 100644 --- a/gtk2_ardour/automation_line.cc +++ b/gtk2_ardour/automation_line.cc @@ -1199,7 +1199,6 @@ AutomationLine::hide_selection () void AutomationLine::list_changed () { - cerr << "AL " << &alist << " changed\n"; queue_reset (); } @@ -1209,8 +1208,6 @@ AutomationLine::reset_callback (const AutomationList& events) ALPoints tmp_points; uint32_t npoints = events.size(); - cerr << "Redraw with " << npoints << endl; - if (npoints == 0) { for (vector<ControlPoint*>::iterator i = control_points.begin(); i != control_points.end(); ++i) { delete *i; diff --git a/gtk2_ardour/automation_line.h b/gtk2_ardour/automation_line.h index dcbbac7604..05a039a3cf 100644 --- a/gtk2_ardour/automation_line.h +++ b/gtk2_ardour/automation_line.h @@ -182,6 +182,9 @@ class AutomationLine : public sigc::trackable, public PBD::StatefulThingWithGoin ArdourCanvas::Points line_points; /* coordinates for canvas line */ vector<ControlPoint*> control_points; /* visible control points */ + ArdourCanvas::Line* nascent_line; /* line */ + ArdourCanvas::Points nascent_line_points; /* coordinates for nascent canvas line */ + struct ALPoint { double x; double y; |