Fix the machine size drawing when X and Y are differnt

This commit is contained in:
daid303 2012-10-19 09:55:48 +02:00
parent 39f39ce4b3
commit 53a98146f5

View file

@ -175,8 +175,8 @@ def DrawMachine(machineSize):
glVertex3f(0, machineSize.y, 0)
glVertex3f(0, machineSize.y, machineSize.z)
glVertex3f(machineSize.y, 0, 0)
glVertex3f(machineSize.y, 0, machineSize.z)
glVertex3f(machineSize.x, 0, 0)
glVertex3f(machineSize.x, 0, machineSize.z)
glVertex3f(machineSize.x, machineSize.y, machineSize.z)
glVertex3f(machineSize.x, machineSize.y, 0)
glEnd()