Automation -use editor_add in gui, record straight lines with fewer points.
[ardour.git] / gtk2_ardour / automation_region_view.cc
index 7e330949de8b877d9b7a16867ad21f19b6a6fde8..b418d096f22e1e2c7726740b7af66b5efe54761b 100644 (file)
@@ -190,7 +190,7 @@ AutomationRegionView::add_automation_event (GdkEvent *, framepos_t when, double
        view->editor().begin_reversible_command (_("add automation event"));
        XMLNode& before = _line->the_list()->get_state();
 
-       _line->the_list()->add (when_d, y, with_guard_points, false);
+       _line->the_list()->editor_add (when_d, y, with_guard_points);
 
        XMLNode& after = _line->the_list()->get_state();