mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-16 03:36:32 +01:00
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).
This commit is contained in:
parent
8f17b7c309
commit
94fa927861
3 changed files with 28 additions and 5 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue