Fix position of fold line.

This commit is contained in:
Roman Telezhynskyi 2024-08-19 19:06:40 +03:00
parent 9b5723bd93
commit 2d56c4ffba
3 changed files with 1 additions and 2 deletions

View file

@ -13,6 +13,7 @@
- Remove legacy build system.
- Tape and Puzzle crash when check for update.
- Improvements for Windows installer. Automatically install latest Microsoft Visual C++ Redistributable Version if build with MSVC.
- Fix position of fold line.
# Valentina 0.7.53 June 25, 2024
- Fix layout sheet export with empty name.

View file

@ -1392,7 +1392,6 @@ auto VLayoutPiece::Diagonal() const -> qreal
auto VLayoutPiece::FoldLine() const -> VFoldLine
{
QLineF foldLine = IsHideMainPath() ? GetSeamAllowanceMirrorLine() : GetSeamMirrorLine();
Swap(foldLine);
VFoldLine fLine(foldLine, GetFoldLineType());
fLine.SetLabelSvgFontSize(GetFoldLineSvgFontSize());
fLine.SetLabelFontItalic(IsFoldLineLabelFontItalic());

View file

@ -312,7 +312,6 @@ auto RenderPassmarks(const VPiece &detail, const VContainer *data) -> QPainterPa
auto RenderFoldLine(const VPiece &detail, const VContainer *data) -> VFoldLine
{
QLineF foldLine = detail.IsHideMainPath() ? detail.SeamAllowanceMirrorLine(data) : detail.SeamMirrorLine(data);
Swap(foldLine);
VFoldLine fLine(foldLine, detail.GetFoldLineType());
fLine.SetLabelSvgFontSize(detail.GetFoldLineSvgFontSize());
fLine.SetLabelFontItalic(detail.IsFoldLineLabelFontItalic());