summaryrefslogtreecommitdiff
path: root/libs/evoral/evoral/ControlList.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2014-11-16 02:09:33 -0500
committerDavid Robillard <d@drobilla.net>2014-11-16 22:35:45 -0500
commitb4fcdbb100ec3be331e7bd8b51a86cc198448397 (patch)
treea80159bb0c6dd7afedc6175f774d96acd7b61c6a /libs/evoral/evoral/ControlList.hpp
parentd63161426f256c293c92b73f1be4b375f962d298 (diff)
Don't add origin value to MIDI controller regions on initial insert.
This should probably hijack the same modifier as the guard points and work the same on all automation tracks, but I did it this way to not change behaviour of track automation where a default is much more reasonable.
Diffstat (limited to 'libs/evoral/evoral/ControlList.hpp')
-rw-r--r--libs/evoral/evoral/ControlList.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/evoral/evoral/ControlList.hpp b/libs/evoral/evoral/ControlList.hpp
index daa4aa93a6..3c4b192159 100644
--- a/libs/evoral/evoral/ControlList.hpp
+++ b/libs/evoral/evoral/ControlList.hpp
@@ -121,7 +121,7 @@ public:
virtual bool clamp_value (double& /*when*/, double& /*value*/) const { return true; }
- virtual void add (double when, double value, bool with_guards=true);
+ virtual void add (double when, double value, bool with_guards=true, bool with_default=true);
virtual void editor_add (double when, double value);
void fast_simple_add (double when, double value);