Merge branch 'feature_bed_adhesion_none' of github.com:Ultimaker/Cura

This commit is contained in:
Jaime van Kessel 2016-11-18 10:35:06 +01:00
commit d0bae5acd7
4 changed files with 8 additions and 3 deletions

View file

@ -701,6 +701,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?")