Fixed bug. We don't have object for line in data container. Just will send

empty object.

--HG--
branch : feature
This commit is contained in:
Roman Telezhynskyi 2015-02-07 16:48:48 +02:00
parent 619a303e9b
commit ff5c6dbb17

View File

@ -414,7 +414,7 @@ void VToolLine::SetSecondPoint(const quint32 &value)
{ {
secondPoint = value; secondPoint = value;
QSharedPointer<VGObject> obj = VAbstractTool::data.GetGObject(id); QSharedPointer<VGObject> obj;//We don't have object for line in data container. Just will send empty object.
SaveOption(obj); SaveOption(obj);
} }
} }
@ -484,7 +484,7 @@ void VToolLine::SetFirstPoint(const quint32 &value)
{ {
firstPoint = value; firstPoint = value;
QSharedPointer<VGObject> obj = VAbstractTool::data.GetGObject(id); QSharedPointer<VGObject> obj;//We don't have object for line in data container. Just will send empty object.
SaveOption(obj); SaveOption(obj);
} }
} }