Fix function call to _getSettingProperty

Don't know who ever tested this...

Contributes to issue CURA-2407.
This commit is contained in:
Ghostkeeper 2016-09-27 16:56:50 +02:00
parent 61477078a4
commit 6783b4b3ef
No known key found for this signature in database
GPG key ID: 701948C5954A7385

View file

@ -240,7 +240,7 @@ class ConvexHullDecorator(SceneNodeDecorator):
elif adhesion_type == "skirt": elif adhesion_type == "skirt":
extra_margin = max( extra_margin = max(
0, self._getSettingProperty("skirt_gap", "value") + 0, self._getSettingProperty("skirt_gap", "value") +
self._getSettingPropertyy("skirt_line_count", "value") * self._getSettingProperty("skirt_brim_line_width", "value")) self._getSettingProperty("skirt_line_count", "value") * self._getSettingProperty("skirt_brim_line_width", "value"))
else: else:
raise Exception("Unknown bed adhesion type. Did you forget to update the convex hull calculations for your new bed adhesion type?") raise Exception("Unknown bed adhesion type. Did you forget to update the convex hull calculations for your new bed adhesion type?")