mirror of
https://git.mirrors.martin98.com/https://github.com/bambulab/BambuStudio.git
synced 2025-09-28 14:33:12 +08:00
FIX: After the slicing with prime tower error, cannot slice when switching printer
jira: STUDIO-12416 Change-Id: Ie63cd9dd6bb6762ba5b709d383d9794a6b9a79ee
This commit is contained in:
parent
820036f322
commit
658ab94798
@ -3287,7 +3287,7 @@ void GLCanvas3D::reload_scene(bool refresh_immediately, bool force_full_scene_re
|
|||||||
bool mix_pla_and_petg = cur_plate->check_mixture_of_pla_and_petg(wxGetApp().preset_bundle->full_config());
|
bool mix_pla_and_petg = cur_plate->check_mixture_of_pla_and_petg(wxGetApp().preset_bundle->full_config());
|
||||||
_set_warning_notification(EWarning::MixUsePLAAndPETG, !mix_pla_and_petg);
|
_set_warning_notification(EWarning::MixUsePLAAndPETG, !mix_pla_and_petg);
|
||||||
|
|
||||||
bool model_fits = contained_min_one && !m_model->objects.empty() && !partlyOut && object_results.filaments.empty() && tpu_valid && filament_printable && !show_wipe_tower_outside_error;
|
bool model_fits = contained_min_one && !m_model->objects.empty() && !partlyOut && object_results.filaments.empty() && tpu_valid && filament_printable;
|
||||||
post_event(Event<bool>(EVT_GLCANVAS_ENABLE_ACTION_BUTTONS, model_fits));
|
post_event(Event<bool>(EVT_GLCANVAS_ENABLE_ACTION_BUTTONS, model_fits));
|
||||||
ppl.get_curr_plate()->update_slice_ready_status(model_fits);
|
ppl.get_curr_plate()->update_slice_ready_status(model_fits);
|
||||||
}
|
}
|
||||||
@ -10838,7 +10838,6 @@ void GLCanvas3D::_set_warning_notification(EWarning warning, bool state)
|
|||||||
break;
|
break;
|
||||||
case EWarning::PrimeTowerOutside:
|
case EWarning::PrimeTowerOutside:
|
||||||
text = _u8L("The prime tower extends beyond the plate boundary.");
|
text = _u8L("The prime tower extends beyond the plate boundary.");
|
||||||
error = ErrorType::SLICING_ERROR;
|
|
||||||
break;
|
break;
|
||||||
case EWarning::AsemblyInvalid:
|
case EWarning::AsemblyInvalid:
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user