13
0

Paste regions in the right place. Fixes #3517.

git-svn-id: svn://localhost/ardour2/branches/3.0@7969 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2010-11-04 21:13:22 +00:00
parent 1cb36f5a81
commit 7716429ef9

View File

@ -1255,7 +1255,7 @@ Playlist::paste (boost::shared_ptr<Playlist> other, framepos_t position, float t
*/
copy_of_region->set_layer (copy_of_region->layer() + top_layer);
add_region_internal (copy_of_region, copy_of_region->position() + pos);
add_region_internal (copy_of_region, (*i)->position() + pos);
}
pos += shift;
}