Skip to content

Commit 4544dad

Browse files
committed
turnoff the debug mode on preferences
also switch the environment to production and update version to 1.0.10.4 Change-Id: I396993ffa2bdfa5e60d69b61870d3710c6963489
1 parent 0b921c4 commit 4544dad

3 files changed

Lines changed: 9 additions & 6 deletions

File tree

src/libslic3r/AppConfig.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ void AppConfig::set_defaults()
118118
set("use_environment_map", false);
119119
#endif // ENABLE_ENVIRONMENT_MAP
120120

121-
if (get("use_inches").empty())
121+
if (get("use_inches").empty())
122122
set("use_inches", "0");
123123
}
124124
else {
@@ -257,7 +257,7 @@ void AppConfig::set_defaults()
257257
}
258258

259259
if (get("iot_environment").empty()) {
260-
set("iot_environment", "1");
260+
set("iot_environment", "3");
261261
}
262262

263263
// Remove legacy window positions/sizes
@@ -1004,11 +1004,11 @@ std::string AppConfig::get_country_code()
10041004
{
10051005
std::string region = get_region();
10061006
/* fix PRE environment when release to public */
1007-
#if BBL_RELEASE_TO_PUBLIC
1007+
#if 0
10081008
this->set("iot_environment", "2");
10091009
return "ENV_CN_PRE";
10101010
#else
1011-
if (is_engineering_region()) { return region; }
1011+
//if (is_engineering_region()) { return region; }
10121012
if (region == "CHN" || region == "China")
10131013
return "CN";
10141014
else if (region == "USA")

src/slic3r/GUI/Preferences.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -569,15 +569,18 @@ void PreferencesDialog::create()
569569
m_sizer_body->Add(m_top_line, 0, wxEXPAND, 0);
570570

571571
auto general_page = create_general_page();
572+
#if !BBL_RELEASE_TO_PUBLIC
572573
auto debug_page = create_debug_page();
573-
574+
#endif
574575
/* create_gui_page();
575576
create_sync_page();
576577
create_shortcuts_page();*/
577578

578579
m_sizer_body->Add(0, 0, 0, wxTOP, FromDIP(28));
579580
m_sizer_body->Add(general_page, 0, wxEXPAND | wxLEFT | wxRIGHT, FromDIP(38));
581+
#if !BBL_RELEASE_TO_PUBLIC
580582
m_sizer_body->Add(debug_page, 0, wxEXPAND | wxLEFT | wxRIGHT, FromDIP(38));
583+
#endif
581584
m_sizer_body->Add(0, 0, 0, wxBOTTOM, FromDIP(28));
582585
SetSizer(m_sizer_body);
583586
Layout();

version.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ set(SLIC3R_APP_KEY "BambuStudio")
77
if(NOT DEFINED BBL_RELEASE_TO_PUBLIC)
88
set(BBL_RELEASE_TO_PUBLIC "0")
99
endif()
10-
set(SLIC3R_VERSION "01.00.10.03")
10+
set(SLIC3R_VERSION "01.00.10.04")

0 commit comments

Comments
 (0)