mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-07-24 03:12:07 +00:00
ENH:support parse new print data
jira:[for new print data] Change-Id: Iac6747e9ade690fcdf3b7b11239fe183bc7c3796 (cherry picked from commit 6c02c7bc8c77a481253e6c574f7bc13ff2cfcbdc)
This commit is contained in:
@@ -167,9 +167,8 @@ void CalibrationPAStartPage::on_device_connected(MachineObject* obj)
|
||||
m_action_panel->bind_button(CaliPageActionType::CALI_ACTION_AUTO_CALI, false);
|
||||
}
|
||||
|
||||
// is support auto cali
|
||||
bool is_support_pa_auto = (obj->home_flag >> 16 & 1) == 1;
|
||||
if (!is_support_pa_auto) {
|
||||
|
||||
if (!obj->is_support_pa_calibration) {
|
||||
m_action_panel->show_button(CaliPageActionType::CALI_ACTION_AUTO_CALI, false);
|
||||
}
|
||||
}
|
||||
@@ -318,8 +317,7 @@ void CalibrationFlowRateStartPage::on_device_connected(MachineObject* obj)
|
||||
}
|
||||
|
||||
//is support auto cali
|
||||
bool is_support_flow_rate_auto = (obj->home_flag >> 15 & 1) == 1;
|
||||
if (!is_support_flow_rate_auto) {
|
||||
if (!obj->is_support_flow_calibration) {
|
||||
m_action_panel->show_button(CaliPageActionType::CALI_ACTION_AUTO_CALI, false);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user