Fix bug. Undo Union details hide piece node points.

This commit is contained in:
Roman Telezhynskyi 2021-02-07 11:26:54 +02:00
parent 4665bc16e0
commit 1b57580c15
2 changed files with 2 additions and 1 deletions

View File

@ -2,6 +2,7 @@
- Placeholder %size% has incorrect value. - Placeholder %size% has incorrect value.
- Values for waist and hip swapped for individual measurements. - Values for waist and hip swapped for individual measurements.
- Fix crash when edit a group operation notes. - Fix crash when edit a group operation notes.
- Fix bug. Undo Union details hide piece node points.
# Version 0.7.43 Jan 31, 2021 # Version 0.7.43 Jan 31, 2021
- Improve Windows installer. Avoid crashing on checking if a program is still running. - Improve Windows installer. Avoid crashing on checking if a program is still running.

View File

@ -2021,7 +2021,7 @@ quint32 VToolSeamAllowance::DuplicateNode(const VPieceNode &node, const VToolSea
{ {
case (Tool::NodePoint): case (Tool::NodePoint):
{ {
const QSharedPointer<VPointF> point = qSharedPointerDynamicCast<VPointF>(gobj); auto point = QSharedPointer<VPointF>(new VPointF(*qSharedPointerDynamicCast<VPointF>(gobj).data()));
initNodeData.id = VAbstractTool::CreateNodePoint(initData.data, gobj->getIdObject(), point); initNodeData.id = VAbstractTool::CreateNodePoint(initData.data, gobj->getIdObject(), point);
VNodePoint::Create(initNodeData); VNodePoint::Create(initNodeData);
break; break;