Fix bug with exclude objects.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2017-10-27 12:11:29 +03:00
parent 29b23bbce3
commit dd5b276e5d

View File

@ -577,7 +577,6 @@ void VToolSeamAllowance::GroupVisibility(quint32 object, bool visible)
//--------------------------------------------------------------------------------------------------------------------- //---------------------------------------------------------------------------------------------------------------------
void VToolSeamAllowance::FullUpdateFromFile() void VToolSeamAllowance::FullUpdateFromFile()
{ {
UpdateExcludeState();
RefreshGeometry(); RefreshGeometry();
} }
@ -1333,6 +1332,7 @@ void VToolSeamAllowance::RefreshGeometry()
UpdateDetailLabel(); UpdateDetailLabel();
UpdatePatternInfo(); UpdatePatternInfo();
UpdateGrainline(); UpdateGrainline();
UpdateExcludeState();
this->setFlag(QGraphicsItem::ItemSendsGeometryChanges, true); this->setFlag(QGraphicsItem::ItemSendsGeometryChanges, true);
} }