diff options
author | David Robillard <d@drobilla.net> | 2014-11-16 02:09:33 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2014-11-16 22:35:45 -0500 |
commit | b4fcdbb100ec3be331e7bd8b51a86cc198448397 (patch) | |
tree | a80159bb0c6dd7afedc6175f774d96acd7b61c6a /gtk2_ardour/automation_region_view.cc | |
parent | d63161426f256c293c92b73f1be4b375f962d298 (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 'gtk2_ardour/automation_region_view.cc')
-rw-r--r-- | gtk2_ardour/automation_region_view.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/automation_region_view.cc b/gtk2_ardour/automation_region_view.cc index 2726cf0455..59bc1f6250 100644 --- a/gtk2_ardour/automation_region_view.cc +++ b/gtk2_ardour/automation_region_view.cc @@ -176,7 +176,7 @@ AutomationRegionView::add_automation_event (GdkEvent *, framepos_t when, double view->session()->begin_reversible_command (_("add automation event")); XMLNode& before = _line->the_list()->get_state(); - _line->the_list()->add (when_d, y, with_guard_points); + _line->the_list()->add (when_d, y, with_guard_points, false); XMLNode& after = _line->the_list()->get_state(); |