From: Steven Abadie Date: Thu, 18 Dec 2014 05:08:32 +0000 (-0700) Subject: Fixed off set addition from last commit. X-Git-Tag: 14.09-1.18~23 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=e24e5e774b7bb51db863ed2f573af4ad43d67a7a;p=cura.git Fixed off set addition from last commit. --- diff --git a/Cura/util/profile.py b/Cura/util/profile.py index 15b077b6..e680e59c 100644 --- a/Cura/util/profile.py +++ b/Cura/util/profile.py @@ -1107,7 +1107,7 @@ def calculateObjectSizeOffsets(): def getMachineCenterCoords(): if getMachineSetting('machine_center_is_zero') == 'True': return [0, 0] - elif profile.getMachineSetting('machine_type') == 'lulzbot_mini': + elif getMachineSetting('machine_type') == 'lulzbot_mini': return [(getMachineSettingFloat('machine_width') / 2) + 2, (getMachineSettingFloat('machine_width') / 2) + 2] return [getMachineSettingFloat('machine_width') / 2, getMachineSettingFloat('machine_depth') / 2]