Compare commits

..

No commits in common. "85f640c31a8c56f14fcb6111886c2e77dc885ad2" and "9e5fb6ea40fc88f7779881a4b6a72cdef8d2f7ff" have entirely different histories.

2 changed files with 2 additions and 12 deletions

View File

@ -1028,21 +1028,14 @@ void
RegionMotionDrag::collect_ripple_views ()
{
RegionSelection copy;
TrackViewList tracklist;
/* find all regions that we *might* ripple */
_editor->get_regionviews_at_or_after (_primary->region()->position(), copy);
/* if we aren't in ripple-all, find which tracks we will be rippling, based on the current region selection */
if (!_editor->should_ripple_all()) {
for (RegionSelection::iterator r = _editor->selection->regions.begin(); r != _editor->selection->regions.end(); ++r) {
tracklist.push_back (&(*r)->get_time_axis_view ());
}
}
TimeAxisView *primary_tav = &_primary->get_time_axis_view();
for (RegionSelection::reverse_iterator i = copy.rbegin(); i != copy.rend(); ++i) {
TimeAxisView *tav = &(*i)->get_time_axis_view();
if (_editor->should_ripple_all() || tracklist.contains(tav)) {
if (_editor->should_ripple_all() || tav == primary_tav) {
if (!_editor->selection->regions.contains (*i)) {
_views.push_back (DraggingView (*i, this, &(*i)->get_time_axis_view()));
}

View File

@ -538,9 +538,6 @@ Editor::get_markers_to_ripple (boost::shared_ptr<Playlist> target_playlist, time
const timepos_t ripple_start = effective_ripple_mark_start (target_playlist, pos);
for (LocationMarkerMap::const_iterator i = location_markers.begin(); i != location_markers.end(); ++i) {
if ( i->first->is_session_range() || i->first->is_auto_punch() || i->first->is_auto_loop() ) {
continue;
}
if (i->first->start() >= ripple_start) {
cerr << "Add markers for " << i->first->name() << endl;
markers.push_back (i->second->start);