Merge branch 'main' into fix/opc-support-for-ota

This commit is contained in:
Ian Chua
2026-09-10 15:42:14 +08:00
committed by GitHub
4799 changed files with 57153 additions and 19328 deletions
+6
View File
@@ -1448,6 +1448,7 @@ void AppConfig::set_mouse_device(const std::string& name, double translation_spe
it->second["invert_yaw"] = invert_yaw ? "1" : "0";
it->second["invert_pitch"] = invert_pitch ? "1" : "0";
it->second["invert_roll"] = invert_roll ? "1" : "0";
m_dirty = true;
}
std::vector<std::string> AppConfig::get_mouse_device_names() const
@@ -1833,4 +1834,9 @@ bool AppConfig::exists()
return boost::filesystem::exists(config_path());
}
std::string AppConfig::load_if_exists()
{
return boost::filesystem::exists(loading_path()) ? load() : std::string();
}
}; // namespace Slic3r