mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 15:25:01 +01:00
Only add session bundles that are of the correct type.
git-svn-id: svn://localhost/ardour2/branches/3.0@4420 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
f6f3769ae1
commit
c5659dda6e
1 changed files with 1 additions and 1 deletions
|
|
@ -209,7 +209,7 @@ PortGroupList::set_offer_inputs (bool i)
|
|||
void
|
||||
PortGroupList::maybe_add_session_bundle (boost::shared_ptr<ARDOUR::Bundle> b)
|
||||
{
|
||||
if (b->ports_are_inputs () == _offer_inputs) {
|
||||
if (b->ports_are_inputs () == _offer_inputs && b->type () == _type) {
|
||||
_system.bundles.push_back (b);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue