Update flipping status when import a piece.
This commit is contained in:
parent
74eb3765bc
commit
35c99ddf3c
|
@ -174,6 +174,13 @@ void VPPiece::Update(const VPPiecePtr &piece)
|
|||
SetFoldLineSVGFontFamily(piece->GetFoldLineSVGFontFamily());
|
||||
SetFoldLineHeight(piece->GetFoldLineHeight());
|
||||
SetFoldLineWidth(piece->GetFoldLineWidth());
|
||||
SetForceFlipping(piece->IsForceFlipping());
|
||||
SetForbidFlipping(piece->IsForbidFlipping());
|
||||
|
||||
if ((IsForceFlipping() && !IsVerticallyFlipped()) || (IsForbidFlipping() && IsVerticallyFlipped()))
|
||||
{
|
||||
FlipVertically();
|
||||
}
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in New Issue
Block a user