Skip to content

Commit

Permalink
Fix for issue #458
Browse files Browse the repository at this point in the history
  • Loading branch information
FormerLurker committed Feb 26, 2020
1 parent 9377444 commit ca1352b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion octoprint_octolapse/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -2781,7 +2781,9 @@ def get_speed_tolerance(self):
def get_gcode_generation_settings(self, slicer_type="cura"):
settings = OctolapseGcodeSettings()
settings.layer_height = self.layer_height
settings.vase_mode = self.smooth_spiralized_contours and self.magic_mesh_surface_mode == "surface"
settings.vase_mode = False
if self.smooth_spiralized_contours is not None and self.magic_mesh_surface_mode is not None:
settings.vase_mode = self.smooth_spiralized_contours and self.magic_mesh_surface_mode == "surface"
# Get All Extruder Settings
settings.extruders = self.get_extruders(slicer_type)
return settings
Expand Down

0 comments on commit ca1352b

Please sign in to comment.