From d94038983e946e55f5e52b5199e53a0823f1df80 Mon Sep 17 00:00:00 2001 From: supermerill Date: Fri, 31 Jul 2020 16:54:36 +0200 Subject: [PATCH] #372 Fix variable layer height: z_step wasn't in the plater setting list. --- src/libslic3r/Slicing.hpp | 2 +- src/slic3r/GUI/Plater.cpp | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/libslic3r/Slicing.hpp b/src/libslic3r/Slicing.hpp index 1db11a375..ce732da38 100644 --- a/src/libslic3r/Slicing.hpp +++ b/src/libslic3r/Slicing.hpp @@ -68,7 +68,7 @@ struct SlicingParameters coordf_t max_suport_layer_height; bool exact_last_layer_height; // min common divisor for all layer height - coordf_t z_step; + coordf_t z_step; // First layer height of the print, this may be used for the first layer of the raft // or for the first layer of the print. diff --git a/src/slic3r/GUI/Plater.cpp b/src/slic3r/GUI/Plater.cpp index f1a55346b..f88da19f1 100644 --- a/src/slic3r/GUI/Plater.cpp +++ b/src/slic3r/GUI/Plater.cpp @@ -2073,7 +2073,8 @@ Plater::priv::priv(Plater *q, MainFrame *main_frame) // These values are necessary to construct SlicingParameters by the Canvas3D variable layer height editor. "layer_height", "first_layer_height", "min_layer_height", "max_layer_height", "brim_width", "perimeters", "perimeter_extruder", "fill_density", "infill_extruder", "top_solid_layers", - "support_material", "support_material_extruder", "support_material_interface_extruder", "support_material_contact_distance", "raft_layers" + "support_material", "support_material_extruder", "support_material_interface_extruder", "support_material_contact_distance", "raft_layers", + "z_step" })) , sidebar(new Sidebar(q)) , delayed_scene_refresh(false)