chiark
/
gitweb
/
~ianmdlvl
/
cura.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
5ab0e95
)
Merge pull request #567 from hg42/fix-rostock-machine-center
author
daid
<daid303@gmail.com>
Thu, 26 Sep 2013 07:12:31 +0000
(
00:12
-0700)
committer
daid
<daid303@gmail.com>
Thu, 26 Sep 2013 07:12:31 +0000
(
00:12
-0700)
getMachineCenterCoords: change erroneous getMachineSetting>>Float<<
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]