~ubuntu-branches/ubuntu/utopic/ardour3/utopic

« back to all changes in this revision

Viewing changes to gtk2_ardour/automation_time_axis.cc

  • Committer: Package Import Robot
  • Author(s): Adrian Knoth
  • Date: 2014-02-25 14:13:18 UTC
  • mfrom: (6.1.3 sid)
  • Revision ID: package-import@ubuntu.com-20140225141318-y760kgxso78rduuf
Tags: 3.5.357~dfsg-1
* Imported Upstream version 3.5.357~dfsg
* Critical bugfix release. All users are recommended to upgrade.
* Details: https://community.ardour.org/node/8015

Show diffs side-by-side

added added

removed removed

Lines of Context:
550
550
}
551
551
 
552
552
void
553
 
AutomationTimeAxisView::add_automation_event (GdkEvent* event, framepos_t when, double y)
 
553
AutomationTimeAxisView::add_automation_event (GdkEvent* event, framepos_t when, double y, bool with_guard_points)
554
554
{
555
555
        if (!_line) {
556
556
                return;
583
583
        _session->begin_reversible_command (_("add automation event"));
584
584
        XMLNode& before = list->get_state();
585
585
 
586
 
        list->add (when, y);
 
586
        list->add (when, y, with_guard_points);
587
587
 
588
588
        XMLNode& after = list->get_state();
589
589
        _session->commit_reversible_command (new MementoCommand<ARDOUR::AutomationList> (*list, &before, &after));