chiark / gitweb /
Fix the mirror options.
authordaid303 <daid303@gmail.com>
Sun, 13 Jan 2013 19:02:46 +0000 (20:02 +0100)
committerdaid303 <daid303@gmail.com>
Sun, 13 Jan 2013 19:02:46 +0000 (20:02 +0100)
Cura/util/profile.py

index a015e5136afe7fce14bf5c5abc4f148a209db58b..064b77489a1b674ea18fcbc04128d2d5c8ef0c56 100644 (file)
@@ -436,11 +436,11 @@ def getObjectMatrix():
        scaleX = getProfileSettingFloat('model_scale')
        scaleY = getProfileSettingFloat('model_scale')
        scaleZ = getProfileSettingFloat('model_scale')
-       if getProfileSetting('flipX') == 'True':
+       if getProfileSetting('flip_x') == 'True':
                scaleX = -scaleX
-       if getProfileSetting('flipY') == 'True':
+       if getProfileSetting('flip_y') == 'True':
                scaleY = -scaleY
-       if getProfileSetting('flipZ') == 'True':
+       if getProfileSetting('flip_z') == 'True':
                scaleZ = -scaleZ
        mat00 = math.cos(rotate) * scaleX
        mat01 =-math.sin(rotate) * scaleY