diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2012-12-19 15:55:06 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2012-12-19 15:55:06 +0000 |
commit | 30237aad7f8e56bc97af4f74812e92e76c924258 (patch) | |
tree | 15bf33558c8480a7a2df7379b075a227b6be2e13 /gtk2_ardour/region_gain_line.cc | |
parent | 37906d067e44927e6ad575ff8a757a8837fbb4cf (diff) |
fix push-drags of automation data - previously we did not resync the model with the view for the points that were pushed (i.e. not selected, but moved anyway)
git-svn-id: svn://localhost/ardour2/branches/3.0@13681 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/region_gain_line.cc')
-rw-r--r-- | gtk2_ardour/region_gain_line.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/region_gain_line.cc b/gtk2_ardour/region_gain_line.cc index 39e1b7fda3..8dfbdeeff4 100644 --- a/gtk2_ardour/region_gain_line.cc +++ b/gtk2_ardour/region_gain_line.cc @@ -87,13 +87,13 @@ AudioRegionGainLine::remove_point (ControlPoint& cp) } void -AudioRegionGainLine::end_drag () +AudioRegionGainLine::end_drag (bool with_push, uint32_t final_index) { if (!rv.audio_region()->envelope_active()) { rv.audio_region()->set_envelope_active(true); trackview.session()->add_command(new MementoCommand<AudioRegion>(*(rv.audio_region().get()), 0, &rv.audio_region()->get_state())); } - AutomationLine::end_drag (); + AutomationLine::end_drag (with_push, final_index); } |