Fix creating pieces.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2017-10-28 14:11:52 +03:00
parent 104a491a67
commit 46d6fcd29d

View File

@ -128,11 +128,6 @@ void AddPiece::redo()
VMainGraphicsView::NewSceneRect(m_scene, qApp->getSceneView(), m_tool); VMainGraphicsView::NewSceneRect(m_scene, qApp->getSceneView(), m_tool);
m_tool.clear(); m_tool.clear();
} }
else
{
VMainGraphicsView::NewSceneRect(m_scene, qApp->getSceneView(),
qobject_cast<VToolSeamAllowance*>(VAbstractPattern::getTool(nodeId)));
}
} }
else else
{ {