From 5a1299895717f2350ae52d0747b4f2fcdb3ba8dc Mon Sep 17 00:00:00 2001 From: Austin Blanton Date: Wed, 1 Oct 2014 10:12:48 -0400 Subject: [PATCH] New ID, same stuff as the old ID --- openbr/plugins/gallery.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openbr/plugins/gallery.cpp b/openbr/plugins/gallery.cpp index 88a2478..0a5bc36 100644 --- a/openbr/plugins/gallery.cpp +++ b/openbr/plugins/gallery.cpp @@ -251,7 +251,7 @@ class utGallery : public BinaryGallery t.file.set("URL", QString(data.data())); char *dataStart = data.data() + ut.urlSize; uint32_t dataSize = ut.size - ut.urlSize; - if (ut.algorithmID == -1) { + if (ut.algorithmID == -1 || ut.algorithmID == -2) { t.file.set("FrontalFace", QRectF(ut.x, ut.y, ut.width, ut.height)); uint32_t *rightEyeX = reinterpret_cast(dataStart); dataStart += sizeof(uint32_t); -- libgit2 0.21.4