Commit 5a1299895717f2350ae52d0747b4f2fcdb3ba8dc

Authored by Austin Blanton
1 parent 20fd2aae

New ID, same stuff as the old ID

Showing 1 changed file with 1 additions and 1 deletions
openbr/plugins/gallery.cpp
@@ -251,7 +251,7 @@ class utGallery : public BinaryGallery @@ -251,7 +251,7 @@ class utGallery : public BinaryGallery
251 t.file.set("URL", QString(data.data())); 251 t.file.set("URL", QString(data.data()));
252 char *dataStart = data.data() + ut.urlSize; 252 char *dataStart = data.data() + ut.urlSize;
253 uint32_t dataSize = ut.size - ut.urlSize; 253 uint32_t dataSize = ut.size - ut.urlSize;
254 - if (ut.algorithmID == -1) { 254 + if (ut.algorithmID == -1 || ut.algorithmID == -2) {
255 t.file.set("FrontalFace", QRectF(ut.x, ut.y, ut.width, ut.height)); 255 t.file.set("FrontalFace", QRectF(ut.x, ut.y, ut.width, ut.height));
256 uint32_t *rightEyeX = reinterpret_cast<uint32_t*>(dataStart); 256 uint32_t *rightEyeX = reinterpret_cast<uint32_t*>(dataStart);
257 dataStart += sizeof(uint32_t); 257 dataStart += sizeof(uint32_t);