summaryrefslogtreecommitdiff
path: root/gtk2_ardour/redirect_automation_line.cc
diff options
context:
space:
mode:
authorBen Loftis <ben@glw.com>2009-08-21 18:24:02 +0000
committerBen Loftis <ben@glw.com>2009-08-21 18:24:02 +0000
commit3ffa60f5ec242e6c206516b0b7eb3927a9df95e4 (patch)
tree1b52c9799e164f177810f11e0847a38410c3abbe /gtk2_ardour/redirect_automation_line.cc
parent0a570e03149091dde5de3cf190e228db0c249b93 (diff)
enable very basic plugin boolean automation via Write and Read. no Touch. graphical editing is not allowed. a little crude but better than none at all
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@5564 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/redirect_automation_line.cc')
-rw-r--r--gtk2_ardour/redirect_automation_line.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/redirect_automation_line.cc b/gtk2_ardour/redirect_automation_line.cc
index 942344a127..c0c8ad49e7 100644
--- a/gtk2_ardour/redirect_automation_line.cc
+++ b/gtk2_ardour/redirect_automation_line.cc
@@ -61,11 +61,11 @@ RedirectAutomationLine::RedirectAutomationLine (const string & name, Redirect& r
range = upper - lower;
if (desc.toggled) {
- no_draw = true;
+ auto_is_boolean = true;
return;
}
- no_draw = false;
+ auto_is_boolean = false;
/* XXX set min/max for underlying curve ??? */
}