FIX: the default value

JIRA: [STUDIO-13902]
Change-Id: Ib0dba13b42182e7c3963d5a190f5857c0e943d8b
(cherry picked from commit 849c6e71b5b678799283f175b509c7f8cde85eda)
This commit is contained in:
xin.zhang
2025-08-08 15:58:39 +08:00
committed by Noisyfox
parent ae3b35d195
commit c12623f576

View File

@@ -3,6 +3,7 @@
#include "slic3r/Utils/json_diff.hpp"
#include <wx/string.h>
#include <limits>
namespace Slic3r
@@ -56,7 +57,7 @@ private:
bool m_support_chamber_edit = false;
int m_chamber_temp_edit_min = 0;
int m_chamber_temp_edit_max = 60;
int m_chamber_temp_switch_heat = LONG_MAX; /* the min temp to start heating, default to LONG_MAX */
int m_chamber_temp_switch_heat = std::numeric_limits<int>::max(); /* the min temp to start heating, default to max */
// print options
bool m_support_first_layer_inspect = false;