Skip to content

Commit

Permalink
Actually fix the distortion during rotation.
Browse files Browse the repository at this point in the history
  • Loading branch information
mdsitton committed Jun 5, 2011
1 parent 22e5057 commit 48498ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Svg.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,9 +193,9 @@ def draw(self):
glLoadIdentity()

glTranslate(self.position[0], self.position[1], 0.0)
glRotatef(self.angle, 0, 0, 1)
glScalef(self.scale[0], self.scale[1], 1.0)
glScalef(self.pixelSize[0], self.pixelSize[1], 1)
glRotatef(self.angle, 0, 0, 1)
glTranslatef(self.shift, self.vshift, 0)

glColor4f(*self.color)
Expand Down

0 comments on commit 48498ff

Please sign in to comment.