Merged develop into feature

--HG--
branch : feature
This commit is contained in:
Bojan Kverh 2016-07-01 17:36:21 +02:00
commit 438cb466d7
2 changed files with 3 additions and 2 deletions

View file

@ -48,6 +48,7 @@
- [#494] Printing is not working.
- [#516] Valentina crashes when use "Point intersect line and axis" instrument.
- [#483] File lost.
- Fixed Bisector tool bug. The tool created internal variable for wrong segment.
# Version 0.4.4 April 12, 2016
- Updated measurement templates with all measurements. Added new template Aldrich/Women measurements.

View file

@ -182,12 +182,12 @@ VToolBisector* VToolBisector::Create(const quint32 _id, QString &formula, const
if (typeCreation == Source::FromGui)
{
id = data->AddGObject(new VPointF(fPoint, pointName, mx, my));
data->AddLine(firstPointId, id);
data->AddLine(secondPointId, id);
}
else
{
data->UpdateGObject(id, new VPointF(fPoint, pointName, mx, my));
data->AddLine(firstPointId, id);
data->AddLine(secondPointId, id);
if (parse != Document::FullParse)
{
doc->UpdateToolData(id, data);