mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-06 13:45:43 +01:00
Prevent direct and indirect selection of VCAs
the ::selection_filter() does not cover select-all and various other indirect selection operations.
This commit is contained in:
parent
4258bad19d
commit
85e3d2158e
2 changed files with 27 additions and 0 deletions
|
|
@ -25,6 +25,7 @@
|
|||
#include "track_selection.h"
|
||||
#include "time_axis_view.h"
|
||||
#include "public_editor.h"
|
||||
#include "vca_time_axis.h"
|
||||
|
||||
using namespace std;
|
||||
|
||||
|
|
@ -44,6 +45,9 @@ TrackSelection::add (TrackViewList const & t)
|
|||
TrackViewList added;
|
||||
|
||||
for (TrackSelection::const_iterator i = t.begin(); i != t.end(); ++i) {
|
||||
if (dynamic_cast<VCATimeAxisView*> (*i)) {
|
||||
continue;
|
||||
}
|
||||
|
||||
/* select anything in the same select-enabled route group */
|
||||
ARDOUR::RouteGroup* rg = (*i)->route_group ();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue