{
AutomationLine::start_drag_single (cp, x, fraction);
- // XXX Stateful need to capture automation curve data
+ // XXX Stateful need to capture automation curve data
if (!rv.audio_region()->envelope_active()) {
trackview.session()->add_command(new MementoCommand<AudioRegion>(*(rv.audio_region().get()), &rv.audio_region()->get_state(), 0));
XMLNode &before = alist->get_state();
if (!rv.audio_region()->envelope_active()) {
- rv.audio_region()->clear_changes ();
+ rv.audio_region()->clear_changes ();
rv.audio_region()->set_envelope_active(true);
trackview.session()->add_command(new StatefulDiffCommand (rv.audio_region()));
}
if (what_changed.contains (interesting_stuff)) {
_time_converter->set_origin_b (rv.region()->position());
}
+
+ interesting_stuff.clear ();
+ interesting_stuff.add (ARDOUR::Properties::start);
+ interesting_stuff.add (ARDOUR::Properties::length);
+
+ if (what_changed.contains (interesting_stuff)) {
+ reset ();
+ }
}