changeset 357:dbc1d2d72cf1

* Reinstate configure dialog for transforms (closes #16)
author Chris Cannam
date Fri, 08 Oct 2010 11:21:39 +0100
parents 2fbd3919323a
children a5aa8d268817
files main/MainWindow.cpp
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/main/MainWindow.cpp	Fri Oct 08 10:53:03 2010 +0100
+++ b/main/MainWindow.cpp	Fri Oct 08 11:21:39 2010 +0100
@@ -26,6 +26,7 @@
 #include "data/model/Labeller.h"
 #include "data/osc/OSCQueue.h"
 #include "framework/Document.h"
+#include "framework/TransformUserConfigurator.h"
 #include "view/ViewManager.h"
 #include "base/Preferences.h"
 #include "layer/WaveformLayer.h"
@@ -3301,6 +3302,8 @@
     if (endFrame > startFrame) duration = endFrame - startFrame;
     else startFrame = 0;
 
+    TransformUserConfigurator configurator;
+
     ModelTransformer::Input input = ModelTransformerFactory::getInstance()->
         getConfigurationForTransform
         (transform,
@@ -3308,7 +3311,8 @@
          defaultInputModel,
          m_playSource,
          startFrame,
-         duration);
+         duration,
+         &configurator);
 
     if (!input.getModel()) return;