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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user