mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2026-01-04 13:57:43 -07:00
FIX: check filament type instead of filament id
jira: [STUDIO-12954] Change-Id: Iab008c698e6c71a6df2ac4a81801681eb4b94d6c (cherry picked from commit 295a6d51ab2f59bfeef84e9ff33dac3c0aea1d93)
This commit is contained in:
parent
2be0569e3d
commit
fcbad94b91
3 changed files with 7 additions and 2 deletions
|
|
@ -1892,8 +1892,8 @@ void SelectMachineDialog::on_ok_btn(wxCommandEvent &event)
|
|||
continue;
|
||||
}
|
||||
|
||||
const auto& mapped_fila_id = obj_->get_filament_id(mapping_info.ams_id, mapping_info.slot_id);
|
||||
if (!mapped_fila_id.empty() && (mapped_fila_id != mapping_info.filament_id)) {
|
||||
const auto& mapped_fila_type = obj_->get_filament_type(mapping_info.ams_id, mapping_info.slot_id);
|
||||
if (!mapped_fila_type.empty() && (mapped_fila_type != mapping_info.type)) {
|
||||
confirm_text.push_back(ConfirmBeforeSendInfo(_L("The filament type setting of external spool is different from the filament in the slicing file.")));
|
||||
has_slice_warnings = true;
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue