mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-21 20:25:20 +00:00
FIX: disable micro lidar in P1P
Change-Id: Idec534e783319c51c19f3b1bafce633c29a13a71
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user