diff options
author | Robin Gareus <robin@gareus.org> | 2014-06-07 17:43:12 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2014-06-07 17:43:12 +0200 |
commit | 94fa9278614557effadb5fea8a2387ea29d1cdb6 (patch) | |
tree | 9a22571b2844dcecfe237d8a4ee9c7712ed5ca50 /gtk2_ardour/automation_line.h | |
parent | 8f17b7c3091e87544766741668e5aa9410458079 (diff) |
limit automation event density - fixes #5928
Constrain control points to one per tick (1/1920 beats).
Prior to this it was possible to set two values to the
same time (interpolation and iteration failed).
Diffstat (limited to 'gtk2_ardour/automation_line.h')
-rw-r--r-- | gtk2_ardour/automation_line.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk2_ardour/automation_line.h b/gtk2_ardour/automation_line.h index dcd81c8b4e..67e8fbc52b 100644 --- a/gtk2_ardour/automation_line.h +++ b/gtk2_ardour/automation_line.h @@ -47,6 +47,7 @@ class TimeAxisView; class AutomationTimeAxisView; class Selectable; class Selection; +class PublicEditor; /** A GUI representation of an ARDOUR::AutomationList */ @@ -183,7 +184,7 @@ public: ContiguousControlPoints (AutomationLine& al); double clamp_dx (double dx); void move (double dx, double dy); - void compute_x_bounds (); + void compute_x_bounds (PublicEditor& e); private: AutomationLine& line; double before_x; |