mirror of
https://gitlab.com/smart-pattern/valentina.git
synced 2024-09-30 04:11:32 +02:00
Fix reappearing internal piece path after scene update.
--HG-- branch : develop
This commit is contained in:
parent
e15c6eca08
commit
85afe83f6a
|
@ -309,8 +309,10 @@ void VToolPiecePath::RefreshGeometry()
|
|||
QPen pen = this->pen();
|
||||
pen.setStyle(path.GetPenType());
|
||||
this->setPen(pen);
|
||||
|
||||
setVisible(path.IsVisible(this->getData()->DataVariables()));
|
||||
if (_referens > 0)
|
||||
{
|
||||
setVisible(path.IsVisible(this->getData()->DataVariables()));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue