# HG changeset patch # User Santeri Piippo # Date 1387556544 -7200 # Node ID 341580df1e6165999e9554b9138f41ccd4770da9 # Parent 4e140de264d239c705cd142291960fdf2fb4bdd6 corrected angle display diff -r 4e140de264d2 -r 341580df1e61 src/gldraw.cc --- a/src/gldraw.cc Fri Dec 20 18:04:23 2013 +0200 +++ b/src/gldraw.cc Fri Dec 20 18:22:24 2013 +0200 @@ -649,7 +649,7 @@ if (gl_drawangles) { QLineF l0 (poly[h], poly[i]), l1 (poly[i], poly[j]); - double angle = l0.angleTo (l1); + double angle = 180 - l0.angleTo (l1); str label = str::number (angle) + str::fromUtf8 (QByteArray ("\302\260")); QPoint pos = poly[i]; pos.setY (pos.y() + metrics.height());