From a4bb8f4c83b4c305ba0fa8da3d0a5444ebebb832 Mon Sep 17 00:00:00 2001 From: Josh Klontz Date: Thu, 9 Oct 2014 10:32:46 -0400 Subject: [PATCH] Revert "Use created variables" --- openbr/plugins/stasm4.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openbr/plugins/stasm4.cpp b/openbr/plugins/stasm4.cpp index 799b59d..9dff4d6 100644 --- a/openbr/plugins/stasm4.cpp +++ b/openbr/plugins/stasm4.cpp @@ -113,8 +113,8 @@ class StasmTransform : public UntrainableTransform QString l = pinEyes.at(1).toString(); if (!r.isNull() && !l.isNull() && src.file.contains(r) && src.file.contains(l)) { - rightEye = src.file.get(r, QPointF()); - leftEye = src.file.get(l, QPointF()); + rightEye = src.file.get(pinEyes.at(0).toString(), QPointF()); + leftEye = src.file.get(pinEyes.at(1).toString(), QPointF()); ok = true; } } -- libgit2 0.21.4