comparison framework/Document.cpp @ 64:b6605be1a2d1

* 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 215b8b1b0308
children a8c8a9551a28
comparison
equal deleted inserted replaced
63:0ffab5d7e3e1 64:b6605be1a2d1
741 741
742 PluginTransformer::ExecutionContext context = 742 PluginTransformer::ExecutionContext context =
743 factory->getDefaultContextForTransformer(id, aggregate); 743 factory->getDefaultContextForTransformer(id, aggregate);
744 context.stepSize = context.blockSize/2; 744 context.stepSize = context.blockSize/2;
745 745
746 Model *transformOutput = factory->transform 746 QString args = "<plugin param-serialise=\"1\"/>";
747 (id, aggregate, context, "<plugin param-serialise=\"1\"/>"); 747
748 Model *transformOutput = factory->transform(id, aggregate, context, args);
749
750 if (!transformOutput) {
751 context.stepSize = 0;
752 transformOutput = factory->transform(id, aggregate, context, args);
753 }
748 754
749 SparseTimeValueModel *path = dynamic_cast<SparseTimeValueModel *> 755 SparseTimeValueModel *path = dynamic_cast<SparseTimeValueModel *>
750 (transformOutput); 756 (transformOutput);
751 757
752 if (!path) { 758 if (!path) {