Fixed crash.

--HG--
branch : feature
This commit is contained in:
Roman Telezhynskyi 2016-05-19 15:48:56 +03:00
parent f046624b36
commit 7665402d64

View File

@ -75,7 +75,7 @@ void VisToolRotation::RefreshGeometry()
return; return;
} }
QSharedPointer<VPointF> origin; QSharedPointer<VPointF> origin = QSharedPointer<VPointF>(new VPointF());
if (object1Id != NULL_ID) if (object1Id != NULL_ID)
{ {