Update laser.py for depreciation issues
Line 1360 updated self.svg.unittouu from self.unittouu to fix depreciation issue.
This commit is contained in:
2
laser.py
2
laser.py
@@ -1357,7 +1357,7 @@ class LaserGcode(inkex.Effect):
|
|||||||
translate = [0, 0]
|
translate = [0, 0]
|
||||||
|
|
||||||
# doc height in pixels (38 mm == 143.62204724px)
|
# doc height in pixels (38 mm == 143.62204724px)
|
||||||
doc_height = self.unittouu(self.document.getroot().xpath('@height', namespaces=inkex.NSS)[0])
|
doc_height = self.svg.unittouu(self.document.getroot().xpath('@height', namespaces=inkex.NSS)[0])
|
||||||
|
|
||||||
if self.document.getroot().get('height') == "100%":
|
if self.document.getroot().get('height') == "100%":
|
||||||
doc_height = 1052.3622047
|
doc_height = 1052.3622047
|
||||||
|
|||||||
Reference in New Issue
Block a user