Fix reappearing internal piece path after scene update.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2018-02-11 13:15:07 +02:00
parent e15c6eca08
commit 85afe83f6a

View File

@ -309,10 +309,12 @@ void VToolPiecePath::RefreshGeometry()
QPen pen = this->pen();
pen.setStyle(path.GetPenType());
this->setPen(pen);
if (_referens > 0)
{
setVisible(path.IsVisible(this->getData()->DataVariables()));
}
}
}
//---------------------------------------------------------------------------------------------------------------------
void VToolPiecePath::IncrementNodes(const VPiecePath &path) const