mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-17 10:32:20 +00:00
FIX: wrong filament map when switch printer preset
1. Clear filament map info in plate when switch to single extruder profile 2. Use real filament map when check tpu validality jira:NONE Signed-off-by: xun.zhang <xun.zhang@bambulab.com> Change-Id: I45a3e8c91dd52e7300a563eda3ffb167c19b7074 (cherry picked from commit d27304e5ef2f43424046b1a1fabc8d999508be4e)
This commit is contained in:
@@ -2883,7 +2883,7 @@ void GLCanvas3D::reload_scene(bool refresh_immediately, bool force_full_scene_re
|
||||
// _set_warning_notification(EWarning::SlaSupportsOutside, false);
|
||||
|
||||
PartPlate* cur_plate = wxGetApp().plater()->get_partplate_list().get_curr_plate();
|
||||
bool tpu_valid = cur_plate->check_tpu_printable_status(m_config, wxGetApp().preset_bundle->get_used_tpu_filaments(cur_plate->get_extruders(true)));
|
||||
bool tpu_valid = cur_plate->check_tpu_printable_status(wxGetApp().preset_bundle->full_config(), wxGetApp().preset_bundle->get_used_tpu_filaments(cur_plate->get_extruders(true)));
|
||||
_set_warning_notification(EWarning::TPUPrintableError, !tpu_valid);
|
||||
|
||||
bool model_fits = contained_min_one && !m_model->objects.empty() && !partlyOut && object_results.filaments.empty() && tpu_valid;
|
||||
|
||||
Reference in New Issue
Block a user