Fix bug in Move tool. Dialog doesn't pass optional rotate origin point.

ref #726.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2017-11-19 17:31:04 +02:00
parent efb4b58b8d
commit 9162b58417

View File

@ -153,6 +153,7 @@ VToolMove *VToolMove::Create(QSharedPointer<DialogTool> dialog, VMainGraphicsSce
initData.formulaAngle = dialogTool->GetAngle(); initData.formulaAngle = dialogTool->GetAngle();
initData.formulaRotationAngle = dialogTool->GetRotationAngle(); initData.formulaRotationAngle = dialogTool->GetRotationAngle();
initData.formulaLength = dialogTool->GetLength(); initData.formulaLength = dialogTool->GetLength();
initData.rotationOrigin = dialogTool->GetRotationOrigPointId();
initData.suffix = dialogTool->GetSuffix(); initData.suffix = dialogTool->GetSuffix();
initData.source = dialogTool->GetObjects(); initData.source = dialogTool->GetObjects();
initData.scene = scene; initData.scene = scene;