Commit 79421685d8694059a6a958733b7639462272ff44
Merge branch 'master' of https://github.com/biometrics/openbr
Showing
1 changed file
with
1 additions
and
0 deletions
openbr/openbr_plugin.h
| @@ -457,6 +457,7 @@ struct TemplateList : public QList<Template> | @@ -457,6 +457,7 @@ struct TemplateList : public QList<Template> | ||
| 457 | while (index < t.size()) { | 457 | while (index < t.size()) { |
| 458 | for (int i=0; i<partitionSizes.size(); i++) { | 458 | for (int i=0; i<partitionSizes.size(); i++) { |
| 459 | Template newTemplate; | 459 | Template newTemplate; |
| 460 | + newTemplate.file = t.file; | ||
| 460 | for (int j=0; j<partitionSizes[i]; j++) { | 461 | for (int j=0; j<partitionSizes[i]; j++) { |
| 461 | newTemplate.append(t[index]); | 462 | newTemplate.append(t[index]); |
| 462 | index++; | 463 | index++; |