Fix clearing piece transformation.
Mirror state must be cleared as well.
This commit is contained in:
parent
78eca1859c
commit
460385c3ad
|
@ -185,6 +185,8 @@ void VPPiece::ClearTransformations()
|
||||||
// (0,0) in the sheet coordinate system
|
// (0,0) in the sheet coordinate system
|
||||||
const QPointF offset = MappedDetailBoundingRect().topLeft();
|
const QPointF offset = MappedDetailBoundingRect().topLeft();
|
||||||
Translate(-offset.x(), -offset.y());
|
Translate(-offset.x(), -offset.y());
|
||||||
|
|
||||||
|
SetMirror(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in New Issue
Block a user