Fix grainline rotatio angle.
Now it follow mouse pointer. --HG-- branch : feature
This commit is contained in:
parent
1d91df5216
commit
83b9e3e5ff
|
@ -103,7 +103,7 @@ double VPieceItem::GetAngle(const QPointF &pt) const
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
return qAtan2(dY, dX);
|
return -qAtan2(dY, dX);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user