From f71cd1d062f2d7d17dd342d5c2a41984c5d44ecf Mon Sep 17 00:00:00 2001 From: supermerill Date: Mon, 27 Sep 2021 14:06:00 +0200 Subject: [PATCH] fix zero max layer height supermerill/SuperSlicer#1569 fix commit 26500cd9a019578c6f21763a6596d4ea3a3ed31f --- src/slic3r/GUI/Tab.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/slic3r/GUI/Tab.cpp b/src/slic3r/GUI/Tab.cpp index afaed1d7c..ad382cb5b 100644 --- a/src/slic3r/GUI/Tab.cpp +++ b/src/slic3r/GUI/Tab.cpp @@ -3033,8 +3033,6 @@ void TabPrinter::toggle_options() const std::vector& nozzle_diameters = m_config->option("nozzle_diameter")->values; std::vector max_layer_height = m_config->option("max_layer_height")->values; for (int i = 0; i < max_layer_height.size(); i++) { - if (max_layer_height[i] == 0) - max_layer_height[i] = nozzle_diameters[i] * 0.75; if ((int64_t)(max_layer_height[i] * 1000000.) % z_step_Mlong != 0) { if (!has_changed) new_conf = *m_config;