mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-19 19:33:47 +00:00
some misc changes (#1848)
* some misc changes * stealth_mode: disable hms * fix bbl camera #1091 #1830 * fix anker
This commit is contained in:
@@ -229,6 +229,10 @@ void AppConfig::set_defaults()
|
||||
set("slicer_uuid", to_string(uuid));
|
||||
}
|
||||
|
||||
// Orca
|
||||
if (get("stealth_mode").empty()) {
|
||||
set_bool("stealth_mode", false);
|
||||
}
|
||||
if (get("show_model_mesh").empty()) {
|
||||
set_bool("show_model_mesh", false);
|
||||
}
|
||||
|
||||
@@ -32,8 +32,8 @@ inline std::string utc_timestamp()
|
||||
return utc_timestamp(get_current_time_utc());
|
||||
}
|
||||
|
||||
inline std::string local_timestamp() {
|
||||
return time2str(get_current_time_utc(), TimeZone::local, TimeFormat::gcode);
|
||||
inline std::string local_timestamp(TimeFormat fmt = TimeFormat::gcode) {
|
||||
return time2str(get_current_time_utc(), TimeZone::local, fmt);
|
||||
}
|
||||
|
||||
// String to time_t function. Returns time_t(-1) if fails to parse the input.
|
||||
|
||||
Reference in New Issue
Block a user