Commit 2eceab5f93e2ba661e2ab8990ad79b483359f205
1 parent
4c86b4d0
Reverted ForkTransform to include file information
Showing
1 changed file
with
2 additions
and
2 deletions
openbr/plugins/meta.cpp
| ... | ... | @@ -334,7 +334,7 @@ class ForkTransform : public CompositeTransform |
| 334 | 334 | void projectUpdate(const TemplateList &src, TemplateList &dst) |
| 335 | 335 | { |
| 336 | 336 | dst.reserve(src.size()); |
| 337 | - for (int i=0; i<src.size(); i++) dst.append(Template()); | |
| 337 | + for (int i=0; i<src.size(); i++) dst.append(Template(src[i].file)); | |
| 338 | 338 | foreach (Transform *f, transforms) { |
| 339 | 339 | TemplateList m; |
| 340 | 340 | f->projectUpdate(src, m); |
| ... | ... | @@ -390,7 +390,7 @@ protected: |
| 390 | 390 | void _project(const TemplateList &src, TemplateList &dst) const |
| 391 | 391 | { |
| 392 | 392 | dst.reserve(src.size()); |
| 393 | - for (int i=0; i<src.size(); i++) dst.append(Template()); | |
| 393 | + for (int i=0; i<src.size(); i++) dst.append(Template(src[i].file)); | |
| 394 | 394 | foreach (const Transform *f, transforms) { |
| 395 | 395 | TemplateList m; |
| 396 | 396 | f->project(src, m); | ... | ... |