From 53838fc350887b01c260c8af17cd45a3cab7e4fb Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sat, 14 Nov 2009 23:08:17 +0000 Subject: 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 --- gtk2_ardour/bundle_manager.cc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'gtk2_ardour/bundle_manager.cc') 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 (); } -- cgit v1.2.3