Commit 8e7162c4 authored by Guillaume Seguin's avatar Guillaume Seguin

Display rotation of gcodes around their center in gcview

parent 9be93653
......@@ -126,8 +126,8 @@ class GcodeViewPanel(wxGLPanel):
continue
glPushMatrix()
glTranslatef(*(obj.offsets))
glTranslatef(*(obj.centeroffset))
glRotatef(obj.rot, 0.0, 0.0, 1.0)
glTranslatef(*(obj.centeroffset))
glScalef(*obj.scale)
obj.model.display()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment