mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 23:05:04 +01:00
Don't select regions with an internal tool.
This commit is contained in:
parent
3a47d99f5f
commit
e705e93376
1 changed files with 4 additions and 2 deletions
|
|
@ -540,7 +540,6 @@ StreamView::set_selected_regionviews (RegionSelection& regions)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/** Get selectable things within a given range.
|
/** Get selectable things within a given range.
|
||||||
* @param start Start time in session frames.
|
* @param start Start time in session frames.
|
||||||
* @param end End time in session frames.
|
* @param end End time in session frames.
|
||||||
|
|
@ -548,10 +547,13 @@ StreamView::set_selected_regionviews (RegionSelection& regions)
|
||||||
* @param bot Bottom y range, in trackview coordinates (ie 0 is the top of the track view)
|
* @param bot Bottom y range, in trackview coordinates (ie 0 is the top of the track view)
|
||||||
* @param result Filled in with selectable things.
|
* @param result Filled in with selectable things.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
StreamView::get_selectables (framepos_t start, framepos_t end, double top, double bottom, list<Selectable*>& results)
|
StreamView::get_selectables (framepos_t start, framepos_t end, double top, double bottom, list<Selectable*>& results)
|
||||||
{
|
{
|
||||||
|
if (_trackview.editor().internal_editing()) {
|
||||||
|
return; // Don't select regions with an internal tool
|
||||||
|
}
|
||||||
|
|
||||||
layer_t min_layer = 0;
|
layer_t min_layer = 0;
|
||||||
layer_t max_layer = 0;
|
layer_t max_layer = 0;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue