Commit 4302eb9e4f1cb241a4eb57f86db0175b221b5bf8
1 parent
6dba98cc
Removed debug statements
Showing
1 changed file
with
1 additions
and
4 deletions
openbr/plugins/meta.cpp
| ... | ... | @@ -317,7 +317,6 @@ class ForkTransform : public CompositeTransform |
| 317 | 317 | // same as _project, but calls projectUpdate on sub-transforms |
| 318 | 318 | void projectupdate(const Template & src, Template & dst) |
| 319 | 319 | { |
| 320 | - qDebug() << "In projectupdate..."; | |
| 321 | 320 | foreach (Transform *f, transforms) { |
| 322 | 321 | try { |
| 323 | 322 | Template res; |
| ... | ... | @@ -333,8 +332,8 @@ class ForkTransform : public CompositeTransform |
| 333 | 332 | |
| 334 | 333 | void projectUpdate(const TemplateList & src, TemplateList & dst) |
| 335 | 334 | { |
| 336 | - qDebug() << "In projectUpdate..."; | |
| 337 | 335 | dst.reserve(src.size()); |
| 336 | + for (int i=0; i<src.size(); i++) dst.append(Template()); | |
| 338 | 337 | foreach (Transform *f, transforms) { |
| 339 | 338 | TemplateList m; |
| 340 | 339 | f->projectUpdate(src, m); |
| ... | ... | @@ -376,7 +375,6 @@ protected: |
| 376 | 375 | // Apply each transform to src, concatenate the results |
| 377 | 376 | void _project(const Template &src, Template &dst) const |
| 378 | 377 | { |
| 379 | - qDebug() << "In _project..."; | |
| 380 | 378 | foreach (const Transform *f, transforms) { |
| 381 | 379 | try { |
| 382 | 380 | dst.merge((*f)(src)); |
| ... | ... | @@ -390,7 +388,6 @@ protected: |
| 390 | 388 | |
| 391 | 389 | void _project(const TemplateList &src, TemplateList &dst) const |
| 392 | 390 | { |
| 393 | - qDebug() << "In _project TemplateList..."; | |
| 394 | 391 | dst.reserve(src.size()); |
| 395 | 392 | for (int i=0; i<src.size(); i++) dst.append(Template()); |
| 396 | 393 | foreach (const Transform *f, transforms) { | ... | ... |