diff --git a/sdk/plugins/stasm.cpp b/sdk/plugins/stasm.cpp index 8946179..377fb60 100644 --- a/sdk/plugins/stasm.cpp +++ b/sdk/plugins/stasm.cpp @@ -49,10 +49,9 @@ class StasmTransform : public UntrainableTransform if (nlandmarks == 0) qFatal("Unable to detect Stasm landmarks"); + dst = src; for (int i = 0; i < nlandmarks; i++) dst.file.appendLandmark(QPointF(landmarks[2 * i], landmarks[2 * i + 1])); - - dst.m() = src.m().clone(); } };