13
0

put compounded-xfades at the right place, i think

git-svn-id: svn://localhost/ardour2/branches/3.0@9547 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2011-05-17 21:43:29 +00:00
parent 4fade1ea35
commit 39d8aa0e94

View File

@ -1072,9 +1072,11 @@ AudioPlaylist::copy_dependents (const vector<TwoRegions>& old_and_new, boost::sh
boost::dynamic_pointer_cast<AudioRegion>(ci->second.new_in),
boost::dynamic_pointer_cast<AudioRegion>(ci->second.new_out)));
/* add it at the right position */
/* add it at the right position - which must be at the start
* of the fade-out region
*/
new_xfade->set_position (ci->second.new_in->position(), this);
new_xfade->set_position (ci->second.new_out->position(), this);
other_audio->add_crossfade (new_xfade);
}
}