Enable some code to make plugin ui bounds more sensible.

git-svn-id: svn://localhost/ardour2/branches/3.0@3960 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Sampo Savolainen 2008-10-13 19:53:25 +00:00
parent 7492625fd1
commit 8c37b5a28f
1 changed files with 2 additions and 2 deletions

View File

@ -467,7 +467,7 @@ GenericPluginUI::build_control_ui (guint32 port_index, boost::shared_ptr<Automat
the absence of bounds in any sensible fashion.
*/
#if 0
//#if 0
control_ui->controller->adjustment()->set_lower (desc.lower);
control_ui->controller->adjustment()->set_upper (desc.upper);
@ -486,7 +486,7 @@ GenericPluginUI::build_control_ui (guint32 port_index, boost::shared_ptr<Automat
control_ui->controller->adjustment()->set_page_size (delta/100.0);
control_ui->controller->adjustment()->set_step_increment (desc.step);
control_ui->controller->adjustment()->set_page_increment (desc.largestep);
#endif
//#endif
if (desc.integer_step) {
control_ui->clickbox = new ClickBox (control_ui->controller->adjustment(), "PluginUIClickBox");