From 9bc72ce339af3c6600b41ae5e3acbec8a62817d5 Mon Sep 17 00:00:00 2001 From: "chunmao.guo" Date: Mon, 10 Jul 2023 19:24:44 +0800 Subject: [PATCH] FIX: c12 version parse Change-Id: I30461a306adbc2ddc5f3b9ee460369b655755d4e --- src/slic3r/GUI/DeviceManager.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/slic3r/GUI/DeviceManager.cpp b/src/slic3r/GUI/DeviceManager.cpp index 3779304f5..6c57dcc04 100644 --- a/src/slic3r/GUI/DeviceManager.cpp +++ b/src/slic3r/GUI/DeviceManager.cpp @@ -1450,7 +1450,8 @@ void MachineObject::parse_version_func() else { is_support_mqtt_alive = ota_version->second.sw_ver.compare("01.03.50.01") >= 0; } - } else if (printer_type == "C12") { + } + } else if (printer_type == "C12") { is_support_ai_monitoring = true; is_cloud_print_only = true; local_camera_proto = 1; @@ -1469,7 +1470,6 @@ void MachineObject::parse_version_func() is_support_mqtt_alive = ota_version->second.sw_ver.compare("01.03.50.01") >= 0; } } - } } }