From 460385c3ad98b4fc68dedd931b94a4379293c1a7 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Sat, 19 Feb 2022 21:17:00 +0200 Subject: [PATCH] Fix clearing piece transformation. Mirror state must be cleared as well. --- src/app/puzzle/layout/vppiece.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/app/puzzle/layout/vppiece.cpp b/src/app/puzzle/layout/vppiece.cpp index 280532ddb..e18de7cb5 100644 --- a/src/app/puzzle/layout/vppiece.cpp +++ b/src/app/puzzle/layout/vppiece.cpp @@ -185,6 +185,8 @@ void VPPiece::ClearTransformations() // (0,0) in the sheet coordinate system const QPointF offset = MappedDetailBoundingRect().topLeft(); Translate(-offset.x(), -offset.y()); + + SetMirror(false); } //---------------------------------------------------------------------------------------------------------------------