mirror of
https://gitlab.com/smart-pattern/valentina.git
synced 2024-09-19 23:34:04 +02:00
Fix position of fold line.
This commit is contained in:
parent
9b5723bd93
commit
2d56c4ffba
|
@ -13,6 +13,7 @@
|
||||||
- Remove legacy build system.
|
- Remove legacy build system.
|
||||||
- Tape and Puzzle crash when check for update.
|
- Tape and Puzzle crash when check for update.
|
||||||
- Improvements for Windows installer. Automatically install latest Microsoft Visual C++ Redistributable Version if build with MSVC.
|
- 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
|
# Valentina 0.7.53 June 25, 2024
|
||||||
- Fix layout sheet export with empty name.
|
- Fix layout sheet export with empty name.
|
||||||
|
|
|
@ -1392,7 +1392,6 @@ auto VLayoutPiece::Diagonal() const -> qreal
|
||||||
auto VLayoutPiece::FoldLine() const -> VFoldLine
|
auto VLayoutPiece::FoldLine() const -> VFoldLine
|
||||||
{
|
{
|
||||||
QLineF foldLine = IsHideMainPath() ? GetSeamAllowanceMirrorLine() : GetSeamMirrorLine();
|
QLineF foldLine = IsHideMainPath() ? GetSeamAllowanceMirrorLine() : GetSeamMirrorLine();
|
||||||
Swap(foldLine);
|
|
||||||
VFoldLine fLine(foldLine, GetFoldLineType());
|
VFoldLine fLine(foldLine, GetFoldLineType());
|
||||||
fLine.SetLabelSvgFontSize(GetFoldLineSvgFontSize());
|
fLine.SetLabelSvgFontSize(GetFoldLineSvgFontSize());
|
||||||
fLine.SetLabelFontItalic(IsFoldLineLabelFontItalic());
|
fLine.SetLabelFontItalic(IsFoldLineLabelFontItalic());
|
||||||
|
|
|
@ -312,7 +312,6 @@ auto RenderPassmarks(const VPiece &detail, const VContainer *data) -> QPainterPa
|
||||||
auto RenderFoldLine(const VPiece &detail, const VContainer *data) -> VFoldLine
|
auto RenderFoldLine(const VPiece &detail, const VContainer *data) -> VFoldLine
|
||||||
{
|
{
|
||||||
QLineF foldLine = detail.IsHideMainPath() ? detail.SeamAllowanceMirrorLine(data) : detail.SeamMirrorLine(data);
|
QLineF foldLine = detail.IsHideMainPath() ? detail.SeamAllowanceMirrorLine(data) : detail.SeamMirrorLine(data);
|
||||||
Swap(foldLine);
|
|
||||||
VFoldLine fLine(foldLine, detail.GetFoldLineType());
|
VFoldLine fLine(foldLine, detail.GetFoldLineType());
|
||||||
fLine.SetLabelSvgFontSize(detail.GetFoldLineSvgFontSize());
|
fLine.SetLabelSvgFontSize(detail.GetFoldLineSvgFontSize());
|
||||||
fLine.SetLabelFontItalic(detail.IsFoldLineLabelFontItalic());
|
fLine.SetLabelFontItalic(detail.IsFoldLineLabelFontItalic());
|
||||||
|
|
Loading…
Reference in a new issue