Various adjustments to make more operations respect the Edit property on route groups.

git-svn-id: svn://localhost/ardour2/branches/3.0@5273 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2009-06-25 20:58:32 +00:00
parent 8e7a5d7741
commit 498afeb63e
11 changed files with 128 additions and 153 deletions

View file

@ -110,17 +110,11 @@ Editor::redo (uint32_t n)
void
Editor::split_region ()
{
split_region_at (get_preferred_edit_position());
}
void
Editor::split_region_at (nframes64_t where)
{
RegionSelection rs;
get_regions_for_action (rs);
split_regions_at (where, selection->regions);
get_regions_for_action (rs, true);
split_regions_at (get_preferred_edit_position (), selection->regions);
}
void
@ -5413,7 +5407,7 @@ Editor::split ()
{
RegionSelection rs;
get_regions_for_action (rs);
get_regions_for_action (rs, true);
nframes64_t where = get_preferred_edit_position();