From 6aa1dfccd0a24b3152eb1ee615c7b0269f677343 Mon Sep 17 00:00:00 2001 From: Austin Blanton Date: Wed, 1 Oct 2014 14:54:17 -0400 Subject: [PATCH] Also write algID -2 correctly (haha oops) --- 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 0a5bc36..de74376 100644 --- a/openbr/plugins/gallery.cpp +++ b/openbr/plugins/gallery.cpp @@ -290,7 +290,7 @@ class utGallery : public BinaryGallery uint32_t x = 0, y = 0, width = 0, height = 0; QByteArray header; - if (algorithmID == -1) { + if (algorithmID == -1 || algorithmID == -2) { const QRectF frontalFace = t.file.get("FrontalFace"); x = frontalFace.x(); y = frontalFace.y(); -- libgit2 0.21.4