Commit 2b2e5b4a90e159ef7b3328c2a9cbd015ac7c3ae1
1 parent
5f21b769
forgot to update writeTemplate() also
Showing
1 changed file
with
1 additions
and
1 deletions
openbr/plugins/gallery.cpp
| ... | ... | @@ -293,7 +293,7 @@ class utGallery : public BinaryGallery |
| 293 | 293 | |
| 294 | 294 | uint32_t x = 0, y = 0, width = 0, height = 0; |
| 295 | 295 | QByteArray header; |
| 296 | - if (algorithmID == -1 || algorithmID == -2) { | |
| 296 | + if ((algorithmID <= -1) && (algorithmID >= -3)) { | |
| 297 | 297 | const QRectF frontalFace = t.file.get<QRectF>("FrontalFace"); |
| 298 | 298 | x = frontalFace.x(); |
| 299 | 299 | y = frontalFace.y(); | ... | ... |