Fix alias for tool Cut Arc.
This commit is contained in:
parent
4b5773c506
commit
992375c754
|
@ -28,6 +28,7 @@
|
||||||
- Improved main path validations.
|
- Improved main path validations.
|
||||||
- New path validation Invalid segment.
|
- New path validation Invalid segment.
|
||||||
- [smart-pattern/valentina#43] Background image.
|
- [smart-pattern/valentina#43] Background image.
|
||||||
|
- Fix alias for tool Cut Arc.
|
||||||
|
|
||||||
# Valentina 0.7.49 July 1, 2021
|
# Valentina 0.7.49 July 1, 2021
|
||||||
- Fix crash.
|
- Fix crash.
|
||||||
|
|
|
@ -144,9 +144,9 @@ VToolCutArc* VToolCutArc::Create(VToolCutInitData &initData)
|
||||||
QPointF point = arc->CutArc(VAbstractValApplication::VApp()->toPixel(result), arc1, arc2);
|
QPointF point = arc->CutArc(VAbstractValApplication::VApp()->toPixel(result), arc1, arc2);
|
||||||
|
|
||||||
arc1.SetAliasSuffix(initData.aliasSuffix1);
|
arc1.SetAliasSuffix(initData.aliasSuffix1);
|
||||||
arc1.SetAliasSuffix(initData.aliasSuffix2);
|
arc2.SetAliasSuffix(initData.aliasSuffix2);
|
||||||
|
|
||||||
VPointF *p = new VPointF(point, initData.name, initData.mx, initData.my);
|
auto *p = new VPointF(point, initData.name, initData.mx, initData.my);
|
||||||
p->SetShowLabel(initData.showLabel);
|
p->SetShowLabel(initData.showLabel);
|
||||||
|
|
||||||
auto a1 = QSharedPointer<VArc>(new VArc(arc1));
|
auto a1 = QSharedPointer<VArc>(new VArc(arc1));
|
||||||
|
|
Loading…
Reference in New Issue
Block a user