FIX: disable micro lidar in P1P
Change-Id: Idec534e783319c51c19f3b1bafce633c29a13a71
This commit is contained in:
parent
1babf060e6
commit
6e5e947aa2
|
@ -5,7 +5,8 @@
|
|||
"func": {
|
||||
"FUNC_CHAMBER_TEMP": false,
|
||||
"FUNC_FIRSTLAYER_INSPECT": false,
|
||||
"FUNC_AI_MONITORING": false,
|
||||
"FUNC_AI_MONITORING": true,
|
||||
"FUNC_LIDAR_CALIBRATION": false,
|
||||
"FUNC_BUILDPLATE_MARKER_DETECT": false,
|
||||
"FUNC_FLOW_CALIBRATION": false,
|
||||
"FUNC_MONITORING": false,
|
||||
|
@ -25,6 +26,7 @@
|
|||
"printer_thumbnail_image": "printer_thumbnail_p1p"
|
||||
},
|
||||
{
|
||||
|
||||
"display_name": "Bambu Lab X1",
|
||||
"func": {
|
||||
"FUNC_VIRTUAL_TYAY" : true,
|
||||
|
|
|
@ -214,7 +214,8 @@ wxWindow* CalibrationDialog::create_check_option(wxString title, wxWindow* paren
|
|||
void CalibrationDialog::update_cali(MachineObject *obj)
|
||||
{
|
||||
if (!obj) return;
|
||||
if (obj->is_function_supported(PrinterFunction::FUNC_AI_MONITORING)) {
|
||||
if (obj->is_function_supported(PrinterFunction::FUNC_AI_MONITORING)
|
||||
&& obj->is_function_supported(PrinterFunction::FUNC_LIDAR_CALIBRATION)) {
|
||||
select_xcam_cali->Show();
|
||||
} else {
|
||||
select_xcam_cali->Hide();
|
||||
|
|
|
@ -2269,6 +2269,9 @@ bool MachineObject::is_function_supported(PrinterFunction func)
|
|||
return false;
|
||||
func_name = "FUNC_AI_MONITORING";
|
||||
break;
|
||||
case FUNC_LIDAR_CALIBRATION:
|
||||
func_name = "FUNC_LIDAR_CALIBRATION";
|
||||
break;
|
||||
case FUNC_BUILDPLATE_MARKER_DETECT:
|
||||
parse_version_func();
|
||||
if (!is_xcam_buildplate_supported)
|
||||
|
|
|
@ -74,6 +74,7 @@ enum PrinterFunction {
|
|||
FUNC_RECORDING,
|
||||
FUNC_FIRSTLAYER_INSPECT,
|
||||
FUNC_AI_MONITORING,
|
||||
FUNC_LIDAR_CALIBRATION,
|
||||
FUNC_BUILDPLATE_MARKER_DETECT,
|
||||
FUNC_AUTO_RECOVERY_STEP_LOSS,
|
||||
FUNC_FLOW_CALIBRATION,
|
||||
|
|
Loading…
Reference in New Issue