Commit 4659ad66d63d4430a5b7356dcf3823b54fd78e9d
1 parent
a890d39b
'ut' ==> 't'
Showing
1 changed file
with
3 additions
and
3 deletions
openbr/core/core.cpp
| ... | ... | @@ -266,7 +266,7 @@ struct AlgorithmCore |
| 266 | 266 | |
| 267 | 267 | void retrieveOrEnroll(const File &file, QScopedPointer<Gallery> &gallery, FileList &galleryFiles) |
| 268 | 268 | { |
| 269 | - if (!file.getBool("enroll") && (QStringList() << "gal" << "mem" << "template" << "ut").contains(file.suffix())) { | |
| 269 | + if (!file.getBool("enroll") && (QStringList() << "gal" << "mem" << "template" << "t").contains(file.suffix())) { | |
| 270 | 270 | // Retrieve it |
| 271 | 271 | gallery.reset(Gallery::make(file)); |
| 272 | 272 | galleryFiles = gallery->files(); |
| ... | ... | @@ -443,7 +443,7 @@ struct AlgorithmCore |
| 443 | 443 | colEnrolledGallery = colGallery.baseName() + colGallery.hash() + '.' + targetExtension; |
| 444 | 444 | |
| 445 | 445 | // Check if we have to do real enrollment, and not just convert the gallery's type. |
| 446 | - if (!(QStringList() << "gal" << "template" << "mem" << "ut").contains(colGallery.suffix())) | |
| 446 | + if (!(QStringList() << "gal" << "template" << "mem" << "t").contains(colGallery.suffix())) | |
| 447 | 447 | enroll(colGallery, colEnrolledGallery); |
| 448 | 448 | |
| 449 | 449 | // If the gallery does have enrolled templates, but is not the right type, we do a simple |
| ... | ... | @@ -465,7 +465,7 @@ struct AlgorithmCore |
| 465 | 465 | // which compares incoming templates against a gallery, we will handle enrollment of the row set by simply |
| 466 | 466 | // building a transform that does enrollment (using the current algorithm), then does the comparison in one |
| 467 | 467 | // step. This way, we don't have to retain the complete enrolled row gallery in memory, or on disk. |
| 468 | - else if (!(QStringList() << "gal" << "mem" << "template" << "ut").contains(rowGallery.suffix())) | |
| 468 | + else if (!(QStringList() << "gal" << "mem" << "template" << "t").contains(rowGallery.suffix())) | |
| 469 | 469 | needEnrollRows = true; |
| 470 | 470 | |
| 471 | 471 | // At this point, we have decided how we will structure the comparison (either in transpose mode, or not), | ... | ... |