chiark
/
gitweb
/
~ianmdlvl
/
cura.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
722656b
)
Fix the rotation angle display rounding bug which made 90degree rotation show up...
author
daid
<daid303@gmail.com>
Fri, 4 Oct 2013 06:42:42 +0000
(08:42 +0200)
committer
daid
<daid303@gmail.com>
Fri, 4 Oct 2013 06:42:42 +0000
(08:42 +0200)
Cura/gui/util/previewTools.py
patch
|
blob
|
history
diff --git
a/Cura/gui/util/previewTools.py
b/Cura/gui/util/previewTools.py
index cd94ded0589e4eb51c4dcac53ed6e32136edd4ef..dad34622a94792da63eb12b7428ec85253896f64 100644
(file)
--- a/
Cura/gui/util/previewTools.py
+++ b/
Cura/gui/util/previewTools.py
@@
-209,7
+209,7
@@
class toolRotate(object):
glEnd()
glTranslatef(1.1,0,0)
glColor4ub(0,0,0,255)
- opengl.glDrawStringCenter("%d" % (abs(self.dragEndAngle - self.dragStartAngle)))
+ opengl.glDrawStringCenter("%d" % (abs(self.dragEndAngle - self.dragStartAngle)
+ 0.5
))
glColor4ub(255,64,64,255)
glPopMatrix()
else: