mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2026-01-02 21:10:29 -07:00
FIX: Duplicate traditional timelapse warnings
jira: STUDIO-10188 Change-Id: Ib391fc3b40dcf27d9c722fce2bae803dbc7fd5c9 (cherry picked from commit 05c3616b0de74dcb97b72fefd393d52c4c5421a8)
This commit is contained in:
parent
a753dd9200
commit
f7cd6bb2d7
1 changed files with 3 additions and 1 deletions
|
|
@ -2116,6 +2116,7 @@ void SelectMachineDialog::on_ok_btn(wxCommandEvent &event)
|
|||
|
||||
PartPlate* plate = m_plater->get_partplate_list().get_curr_plate();
|
||||
|
||||
bool has_show_traditional_timelapse_waring = false;
|
||||
for (auto warning : plate->get_slice_result()->warnings) {
|
||||
if (warning.msg == BED_TEMP_TOO_HIGH_THAN_FILAMENT) {
|
||||
if ((obj_->get_printer_is_enclosed())){
|
||||
|
|
@ -2124,8 +2125,9 @@ void SelectMachineDialog::on_ok_btn(wxCommandEvent &event)
|
|||
}
|
||||
}
|
||||
else if (warning.msg == NOT_SUPPORT_TRADITIONAL_TIMELAPSE) {
|
||||
if (obj_->get_printer_arch() == PrinterArch::ARCH_I3 && (m_checkbox_list["timelapse"]->getValue() == "on")) {
|
||||
if (!has_show_traditional_timelapse_waring && obj_->get_printer_arch() == PrinterArch::ARCH_I3 && (m_checkbox_list["timelapse"]->getValue() == "on")) {
|
||||
confirm_text.push_back(ConfirmBeforeSendInfo(Plater::get_slice_warning_string(warning)));
|
||||
has_show_traditional_timelapse_waring = true;
|
||||
has_slice_warnings = true;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue