Fixed Bisector tool bug. The tool created internal variable for wrong segment.
--HG-- branch : release
This commit is contained in:
parent
d41a777f73
commit
c5512294da
|
@ -11,6 +11,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.
|
||||||
|
|
|
@ -183,12 +183,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