diff plugin/transform/ModelTransformerFactory.cpp @ 361:399ea254afd6

* Part of #1877436 transform fails to re-run when file loaded at different rate
author Chris Cannam
date Wed, 23 Jan 2008 18:09:50 +0000
parents d7c41483af8f
children
line wrap: on
line diff
--- a/plugin/transform/ModelTransformerFactory.cpp	Wed Jan 23 15:43:27 2008 +0000
+++ b/plugin/transform/ModelTransformerFactory.cpp	Wed Jan 23 18:09:50 2008 +0000
@@ -358,7 +358,8 @@
 
 Model *
 ModelTransformerFactory::transform(const Transform &transform,
-                                   const ModelTransformer::Input &input)
+                                   const ModelTransformer::Input &input,
+                                   QString &message)
 {
     ModelTransformer *t = createTransformer(transform, input);
     if (!t) return 0;
@@ -388,6 +389,8 @@
         t->wait();
     }
 
+    message = t->getMessage();
+
     return model;
 }