fix: don't expand disallowed areas when using none platform adhesion (CURA-759)

This commit is contained in:
Tim Kuipers 2016-11-14 12:36:21 +01:00
parent 337cd127dc
commit 995705f82b
2 changed files with 4 additions and 0 deletions

View file

@ -653,6 +653,8 @@ class BuildVolume(SceneNode):
bed_adhesion_size += value
elif adhesion_type == "raft":
bed_adhesion_size = self._getSettingFromAdhesionExtruder("raft_margin")
elif adhesion_type == "none":
bed_adhesion_size = 0
else:
raise Exception("Unknown bed adhesion type. Did you forget to update the build volume calculations for your new bed adhesion type?")