Resolved issue #487. True dart point always goes to origin when the label is moved.
--HG-- branch : develop
This commit is contained in:
parent
c875930033
commit
0d8d9cb5e1
|
@ -22,6 +22,7 @@
|
||||||
- [#471] Add a 'Show/Hide' button for measurement diagram in Tape.
|
- [#471] Add a 'Show/Hide' button for measurement diagram in Tape.
|
||||||
- [#478] Rename 'Print preview tiled' to 'Preview Tiled PDF'.
|
- [#478] Rename 'Print preview tiled' to 'Preview Tiled PDF'.
|
||||||
- [#472] Add 'Full Name' column to Formula dialog.
|
- [#472] Add 'Full Name' column to Formula dialog.
|
||||||
|
- [#487] True dart point always goes to origin when the label is moved.
|
||||||
|
|
||||||
# Version 0.4.5
|
# Version 0.4.5
|
||||||
- [#435] Valentina doesn't change the cursor.
|
- [#435] Valentina doesn't change the cursor.
|
||||||
|
|
|
@ -183,10 +183,7 @@ void VToolDoublePoint::DoChangePosition(quint32 id, qreal mx, qreal my)
|
||||||
point->setMx(mx);
|
point->setMx(mx);
|
||||||
point->setMy(my);
|
point->setMy(my);
|
||||||
VAbstractTool::data.UpdateGObject(p1id, point);
|
VAbstractTool::data.UpdateGObject(p1id, point);
|
||||||
firstPoint->blockSignals(true);
|
firstPoint->RefreshGeometry(*point);
|
||||||
firstPoint->setPos(QPointF(mx, my));
|
|
||||||
firstPoint->blockSignals(false);
|
|
||||||
RefreshLine(p1id);
|
|
||||||
}
|
}
|
||||||
else if (id == p2id)
|
else if (id == p2id)
|
||||||
{
|
{
|
||||||
|
@ -194,10 +191,7 @@ void VToolDoublePoint::DoChangePosition(quint32 id, qreal mx, qreal my)
|
||||||
point->setMx(mx);
|
point->setMx(mx);
|
||||||
point->setMy(my);
|
point->setMy(my);
|
||||||
VAbstractTool::data.UpdateGObject(p2id, point);
|
VAbstractTool::data.UpdateGObject(p2id, point);
|
||||||
secondPoint->blockSignals(true);
|
secondPoint->RefreshGeometry(*point);
|
||||||
secondPoint->setPos(QPointF(mx, my));
|
|
||||||
secondPoint->blockSignals(false);
|
|
||||||
RefreshLine(p2id);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user