summaryrefslogtreecommitdiff
path: root/gtk2_ardour/bundle_manager.cc
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2009-11-14 23:08:17 +0000
committerCarl Hetherington <carl@carlh.net>2009-11-14 23:08:17 +0000
commit53838fc350887b01c260c8af17cd45a3cab7e4fb (patch)
tree6ff036fef2fe20d4a4d5402a31c0d270b97aa4d2 /gtk2_ardour/bundle_manager.cc
parentbb9647abfea66b047801c5fb4a951c320616da27 (diff)
Allow multiple bundles with the same ports in the bundle editor, otherwise sometimes important bundles can be incorrectly hidden.
git-svn-id: svn://localhost/ardour2/branches/3.0@6087 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/bundle_manager.cc')
-rw-r--r--gtk2_ardour/bundle_manager.cc7
1 files changed, 6 insertions, 1 deletions
diff --git a/gtk2_ardour/bundle_manager.cc b/gtk2_ardour/bundle_manager.cc
index c5981f0552..0eb3d56698 100644
--- a/gtk2_ardour/bundle_manager.cc
+++ b/gtk2_ardour/bundle_manager.cc
@@ -52,7 +52,12 @@ BundleEditorMatrix::setup_ports (int dim)
_ports[OURS].add_group (_port_group);
} else {
_ports[OTHER].suspend_signals ();
- _ports[OTHER].gather (_session, _bundle->ports_are_inputs());
+
+ /* when we gather, allow the matrix to contain bundles with duplicate port sets,
+ otherwise in some cases the basic system IO ports may be hidden, making
+ the bundle editor useless */
+
+ _ports[OTHER].gather (_session, _bundle->ports_are_inputs(), true);
_ports[OTHER].remove_bundle (_bundle);
_ports[OTHER].resume_signals ();
}