Fixed Bisector tool bug. The tool created internal variable for wrong segment.
(grafted from 53b851e1c883bd92a7f9267a8fcefaa98735ecde) --HG-- branch : develop
This commit is contained in:
parent
800c1b4dc9
commit
b3f1b15c1e
|
@ -48,6 +48,7 @@
|
||||||
- [#494] Printing is not working.
|
- [#494] Printing is not working.
|
||||||
- [#516] Valentina crashes when use "Point intersect line and axis" instrument.
|
- [#516] Valentina crashes when use "Point intersect line and axis" instrument.
|
||||||
- [#483] File lost.
|
- [#483] File lost.
|
||||||
|
- Fixed Bisector tool bug. The tool created internal variable for wrong segment.
|
||||||
|
|
||||||
# Version 0.4.4 April 12, 2016
|
# Version 0.4.4 April 12, 2016
|
||||||
- Updated measurement templates with all measurements. Added new template Aldrich/Women measurements.
|
- Updated measurement templates with all measurements. Added new template Aldrich/Women measurements.
|
||||||
|
|
|
@ -182,12 +182,12 @@ VToolBisector* VToolBisector::Create(const quint32 _id, QString &formula, const
|
||||||
if (typeCreation == Source::FromGui)
|
if (typeCreation == Source::FromGui)
|
||||||
{
|
{
|
||||||
id = data->AddGObject(new VPointF(fPoint, pointName, mx, my));
|
id = data->AddGObject(new VPointF(fPoint, pointName, mx, my));
|
||||||
data->AddLine(firstPointId, id);
|
data->AddLine(secondPointId, id);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
data->UpdateGObject(id, new VPointF(fPoint, pointName, mx, my));
|
data->UpdateGObject(id, new VPointF(fPoint, pointName, mx, my));
|
||||||
data->AddLine(firstPointId, id);
|
data->AddLine(secondPointId, id);
|
||||||
if (parse != Document::FullParse)
|
if (parse != Document::FullParse)
|
||||||
{
|
{
|
||||||
doc->UpdateToolData(id, data);
|
doc->UpdateToolData(id, data);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user