Mercurial > hg > svcore
changeset 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 | 4175a4930186 |
children | 277006c62fea |
files | plugin/transform/FeatureExtractionModelTransformer.cpp plugin/transform/FeatureExtractionModelTransformer.h |
diffstat | 2 files changed, 4 insertions(+), 2 deletions(-) [+] |
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); }
--- a/plugin/transform/FeatureExtractionModelTransformer.h Mon Nov 26 15:05:51 2007 +0000 +++ b/plugin/transform/FeatureExtractionModelTransformer.h Wed Nov 28 13:01:50 2007 +0000 @@ -27,7 +27,7 @@ public: FeatureExtractionModelTransformer(Model *inputModel, QString plugin, - const ExecutionContext &context, + ExecutionContext context, QString configurationXml = "", QString outputName = ""); virtual ~FeatureExtractionModelTransformer();