Fix adding of automation points to regions with a non-zero start (#4316).
git-svn-id: svn://localhost/ardour2/branches/3.0@10108 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
@@ -149,7 +149,7 @@ AutomationRegionView::add_automation_event (GdkEvent *, framepos_t when, double
|
||||
|
||||
/* snap frame */
|
||||
|
||||
when = snap_frame_to_frame (when - _region->start ());
|
||||
when = snap_frame_to_frame (when - _region->start ()) + _region->start ();
|
||||
|
||||
/* map using line */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user