summaryrefslogtreecommitdiff
path: root/gtk2_ardour/processor_box.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2009-11-18 20:01:37 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2009-11-18 20:01:37 +0000
commit57e1358fb2d8a8ab51b4996808e0eaa41492fb9e (patch)
treeb186bc07e6581dc6b96d1e805aee670ce99570c6 /gtk2_ardour/processor_box.cc
parentdd4565801be7daea2ffc7043de0cb70a247545b2 (diff)
add "custom" meter option which is the only option where the meter processor is visible in the UI; hide main outs always
git-svn-id: svn://localhost/ardour2/branches/3.0@6126 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/processor_box.cc')
-rw-r--r--gtk2_ardour/processor_box.cc5
1 files changed, 1 insertions, 4 deletions
diff --git a/gtk2_ardour/processor_box.cc b/gtk2_ardour/processor_box.cc
index 5858ff76a0..043395a0f1 100644
--- a/gtk2_ardour/processor_box.cc
+++ b/gtk2_ardour/processor_box.cc
@@ -804,11 +804,8 @@ void
ProcessorBox::add_processor_to_display (boost::weak_ptr<Processor> p)
{
boost::shared_ptr<Processor> processor (p.lock ());
- if (!processor) {
- return;
- }
- if (!processor->visible()) {
+ if (!processor || !processor->display_to_user()) {
return;
}