summaryrefslogtreecommitdiff
path: root/gtk2_ardour/curvetest.cc
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-09-19 06:30:49 +0000
committerDavid Robillard <d@drobilla.net>2008-09-19 06:30:49 +0000
commit60f588f21d6ad62335d72e8dc682abf8859107ea (patch)
treeb096b25cd757f6086c90f35b4358080747dc0c0a /gtk2_ardour/curvetest.cc
parent2539b8fc184380957ba0effa1db947ced748ab31 (diff)
Fix parameter range stuff and automation time axis height (somewhat...).
Create a new AutomationLine when an AutomationRegionView without a line is clicked. git-svn-id: svn://localhost/ardour2/branches/3.0@3757 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/curvetest.cc')
-rw-r--r--gtk2_ardour/curvetest.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk2_ardour/curvetest.cc b/gtk2_ardour/curvetest.cc
index 88c7b8e116..9235fb9ba9 100644
--- a/gtk2_ardour/curvetest.cc
+++ b/gtk2_ardour/curvetest.cc
@@ -34,7 +34,8 @@ curvetest (string filename)
{
ifstream in (filename.c_str());
stringstream line;
- Parameter param(GainAutomation, -1.0, +1.0, 0.0);
+ //Parameter param(GainAutomation, -1.0, +1.0, 0.0);
+ Parameter param(GainAutomation);
AutomationList al (param);
double minx = DBL_MAX;
double maxx = DBL_MIN;