chiark
/
gitweb
/
~ianmdlvl
/
cura.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5ab0e95
)
getMachineCenterCoords: change erroneous getMachineSetting>>Float<<
author
hg42@gmx.net
<hg42@gmx.net>
Wed, 25 Sep 2013 17:38:22 +0000
(19:38 +0200)
committer
hg42@gmx.net
<hg42@gmx.net>
Wed, 25 Sep 2013 17:38:22 +0000
(19:38 +0200)
--HG--
extra : source :
0a5525f40003b9b7ef1f01bc0d1ad4ec6c954c31
Cura/util/profile.py
patch
|
blob
|
history
diff --git
a/Cura/util/profile.py
b/Cura/util/profile.py
index 3c890254d775fdda51262e4b7f302eb557c711cf..2c57493f4f7f52710199f7fee5a41e78871ad012 100644
(file)
--- a/
Cura/util/profile.py
+++ b/
Cura/util/profile.py
@@
-827,7
+827,7
@@
def calculateObjectSizeOffsets():
return [size, size]
def getMachineCenterCoords():
- if getMachineSetting
Float
('machine_center_is_zero') == 'True':
+ if getMachineSetting('machine_center_is_zero') == 'True':
return [0, 0]
return [getMachineSettingFloat('machine_width') / 2, getMachineSettingFloat('machine_depth') / 2]