Commit 7b5006c0c1994655ccc8f9c6c4d883cd687d062a
1 parent
5077e2d6
.ut should also count as a pre-enrolled format in retrieveOrEnroll
Showing
1 changed file
with
1 additions
and
1 deletions
openbr/core/core.cpp
| @@ -242,7 +242,7 @@ struct AlgorithmCore | @@ -242,7 +242,7 @@ struct AlgorithmCore | ||
| 242 | 242 | ||
| 243 | void retrieveOrEnroll(const File &file, QScopedPointer<Gallery> &gallery, FileList &galleryFiles) | 243 | void retrieveOrEnroll(const File &file, QScopedPointer<Gallery> &gallery, FileList &galleryFiles) |
| 244 | { | 244 | { |
| 245 | - if (!file.getBool("enroll") && (QStringList() << "gal" << "mem" << "template").contains(file.suffix())) { | 245 | + if (!file.getBool("enroll") && (QStringList() << "gal" << "mem" << "template" << "ut").contains(file.suffix())) { |
| 246 | // Retrieve it | 246 | // Retrieve it |
| 247 | gallery.reset(Gallery::make(file)); | 247 | gallery.reset(Gallery::make(file)); |
| 248 | galleryFiles = gallery->files(); | 248 | galleryFiles = gallery->files(); |