Mercurial > hg > svcore
diff plugin/transform/FeatureExtractionModelTransformer.cpp @ 343:46519c04321b
* Try to ensure alignment works correctly with MATCH plugin v1 as well as v2
author | Chris Cannam |
---|---|
date | Wed, 28 Nov 2007 13:01:50 +0000 |
parents | 516819f2b97b |
children | 277006c62fea |
line wrap: on
line diff
--- a/plugin/transform/FeatureExtractionModelTransformer.cpp Mon Nov 26 15:05:51 2007 +0000 +++ b/plugin/transform/FeatureExtractionModelTransformer.cpp Wed Nov 28 13:01:50 2007 +0000 @@ -35,7 +35,7 @@ FeatureExtractionModelTransformer::FeatureExtractionModelTransformer(Model *inputModel, QString pluginId, - const ExecutionContext &context, + ExecutionContext context, QString configurationXml, QString outputName) : PluginTransformer(inputModel, context), @@ -62,6 +62,8 @@ return; } + context.makeConsistentWithPlugin(m_plugin); + if (configurationXml != "") { PluginXml(m_plugin).setParametersFromXml(configurationXml); }