ENH: disable the nozzle settings in Studio

jira: [STUDIO-11489]
Change-Id: Id26f06d312ea04ba3aaea9ec4539860f72533078
(cherry picked from commit 8fb88001af3cea8c94adb1f1ace00795cb4be299)
This commit is contained in:
xin.zhang
2025-04-10 20:34:42 +08:00
committed by Noisyfox
parent b64d05608b
commit b18337f0a6
13 changed files with 68 additions and 20 deletions

View File

@@ -7500,7 +7500,11 @@ std::string DeviceManager::get_printer_ext_img(std::string type_str, int pos) {
}
bool DeviceManager::get_printer_is_enclosed(std::string type_str) {
return get_value_from_config<bool>(type_str, "printer_is_enclosed");
return get_value_from_config<bool>(type_str, "printer_is_enclosed"); }
bool DeviceManager::get_printer_can_set_nozzle(std::string type_str)
{
return get_value_from_config<bool>(type_str, "enable_set_nozzle_info");
}
std::vector<std::string> DeviceManager::get_resolution_supported(std::string type_str)