mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 15:25:01 +01:00
revert part of 0f1c7b1d71 which broke lots of stuff based on region selection
This commit is contained in:
parent
80d1631aa3
commit
ba33c6dab6
1 changed files with 2 additions and 0 deletions
|
|
@ -4546,6 +4546,8 @@ Editor::get_regions_from_selection_and_edit_point ()
|
||||||
|
|
||||||
if (_edit_point == EditAtMouse && entered_regionview && !selection->regions.contains (entered_regionview)) {
|
if (_edit_point == EditAtMouse && entered_regionview && !selection->regions.contains (entered_regionview)) {
|
||||||
regions.add (entered_regionview);
|
regions.add (entered_regionview);
|
||||||
|
} else {
|
||||||
|
regions = selection->regions;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (regions.empty() && _edit_point != EditAtMouse) {
|
if (regions.empty() && _edit_point != EditAtMouse) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue