Commit a4bb8f4c83b4c305ba0fa8da3d0a5444ebebb832

Authored by Josh Klontz
1 parent 12ed1cb7

Revert "Use created variables"

This reverts commit 73ca1e58ba7aa1fe701122da21e0f76f01c0c5aa.
Showing 1 changed file with 2 additions and 2 deletions
openbr/plugins/stasm4.cpp
@@ -113,8 +113,8 @@ class StasmTransform : public UntrainableTransform @@ -113,8 +113,8 @@ class StasmTransform : public UntrainableTransform
113 QString l = pinEyes.at(1).toString(); 113 QString l = pinEyes.at(1).toString();
114 if (!r.isNull() && !l.isNull() && src.file.contains(r) && src.file.contains(l)) 114 if (!r.isNull() && !l.isNull() && src.file.contains(r) && src.file.contains(l))
115 { 115 {
116 - rightEye = src.file.get<QPointF>(r, QPointF());  
117 - leftEye = src.file.get<QPointF>(l, QPointF()); 116 + rightEye = src.file.get<QPointF>(pinEyes.at(0).toString(), QPointF());
  117 + leftEye = src.file.get<QPointF>(pinEyes.at(1).toString(), QPointF());
118 ok = true; 118 ok = true;
119 } 119 }
120 } 120 }