Fix hiding inserted node in a pattern piece after its removal.
This commit is contained in:
parent
ce94d0747d
commit
1539abaf4d
|
@ -1,3 +1,6 @@
|
|||
# Version 0.7.41 (unreleased)
|
||||
- Bug fixes.
|
||||
|
||||
# Version 0.7.40 Nov 23, 2020
|
||||
- New function Warning.
|
||||
- [smart-pattern/valentina#80] Allow insertion of multiple nodes.
|
||||
|
|
|
@ -1788,7 +1788,6 @@ void VToolSeamAllowance::InitNode(const VPieceNode &node, VMainGraphicsScene *sc
|
|||
tool->setParentItem(parent);
|
||||
tool->SetParentType(ParentType::Item);
|
||||
tool->SetExluded(node.IsExcluded());
|
||||
doc->IncrementReferens(node.GetId());
|
||||
}
|
||||
tool->setVisible(not node.IsExcluded());//Hide excluded point
|
||||
break;
|
||||
|
@ -1797,7 +1796,7 @@ void VToolSeamAllowance::InitNode(const VPieceNode &node, VMainGraphicsScene *sc
|
|||
case (Tool::NodeElArc):
|
||||
case (Tool::NodeSpline):
|
||||
case (Tool::NodeSplinePath):
|
||||
doc->IncrementReferens(data->GetGObject(node.GetId())->getIdTool());
|
||||
// Do nothing
|
||||
break;
|
||||
default:
|
||||
qDebug()<<"Get wrong tool type. Ignore.";
|
||||
|
|
Loading…
Reference in New Issue
Block a user