# HG changeset patch # User Chris Cannam # Date 1286533299 -3600 # Node ID dbc1d2d72cf16a189351fefc26d50059c143ea6e # Parent 2fbd3919323a4c15fe9b66277e6128875cada8a9 * Reinstate configure dialog for transforms (closes #16) diff -r 2fbd3919323a -r dbc1d2d72cf1 main/MainWindow.cpp --- 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;