diff --git a/openbr/openbr_plugin.cpp b/openbr/openbr_plugin.cpp index 5f5fbb3..832d7b4 100644 --- a/openbr/openbr_plugin.cpp +++ b/openbr/openbr_plugin.cpp @@ -1166,7 +1166,8 @@ void Transform::project(const TemplateList &src, TemplateList &dst) const dst.append(Template()); QFutureSynchronizer futures; for (int i=0; iparallelism > 1) futures.addFuture(QtConcurrent::run(_project, this, &src[i], &dst[i])); + else _project(this, &src[i], &dst[i]); futures.waitForFinished(); }