From ff02619730f6af3910b535c419fc798b4a9a9d62 Mon Sep 17 00:00:00 2001 From: "lane.wei" Date: Sat, 18 Jan 2025 11:40:17 +0800 Subject: [PATCH] ENH: GUI: remove object limited warning jira: no-jira Change-Id: I89bc082721bdc05ed2f41febc12a4f4252308ac0 --- src/slic3r/GUI/GLCanvas3D.cpp | 6 +++--- src/slic3r/GUI/Plater.cpp | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/slic3r/GUI/GLCanvas3D.cpp b/src/slic3r/GUI/GLCanvas3D.cpp index ea68fc8c0..439229ba6 100644 --- a/src/slic3r/GUI/GLCanvas3D.cpp +++ b/src/slic3r/GUI/GLCanvas3D.cpp @@ -3001,7 +3001,7 @@ void GLCanvas3D::reload_scene(bool refresh_immediately, bool force_full_scene_re const bool contained_min_one = m_volumes.check_outside_state(m_bed.build_volume(), &state, &object_results); const bool partlyOut = (state == ModelInstanceEPrintVolumeState::ModelInstancePVS_Partly_Outside); const bool fullyOut = (state == ModelInstanceEPrintVolumeState::ModelInstancePVS_Fully_Outside); - const bool objectLimited = (state == ModelInstanceEPrintVolumeState::ModelInstancePVS_Limited); + // const bool objectLimited = (state == ModelInstanceEPrintVolumeState::ModelInstancePVS_Limited); auto clash_flag = construct_error_string(object_results, get_object_clashed_text()); auto unprintable_flag= construct_extruder_unprintable_error(object_results, get_left_extruder_unprintable_text(), get_right_extruder_unprintable_text()); @@ -3009,7 +3009,7 @@ void GLCanvas3D::reload_scene(bool refresh_immediately, bool force_full_scene_re _set_warning_notification(EWarning::ObjectClashed, clash_flag); _set_warning_notification(EWarning::LeftExtruderPrintableError, unprintable_flag.first); _set_warning_notification(EWarning::RightExtruderPrintableError, unprintable_flag.second); - _set_warning_notification(EWarning::ObjectLimited, objectLimited); + //_set_warning_notification(EWarning::ObjectLimited, objectLimited); //BBS: turn off the warning when fully outside //_set_warning_notification(EWarning::ObjectOutside, fullyOut); //if (printer_technology != ptSLA || !contained_min_one) @@ -3034,7 +3034,7 @@ void GLCanvas3D::reload_scene(bool refresh_immediately, bool force_full_scene_re _set_warning_notification(EWarning::ObjectClashed, false); _set_warning_notification(EWarning::LeftExtruderPrintableError, false); _set_warning_notification(EWarning::RightExtruderPrintableError, false); - _set_warning_notification(EWarning::ObjectLimited, false); + //_set_warning_notification(EWarning::ObjectLimited, false); //_set_warning_notification(EWarning::SlaSupportsOutside, false); _set_warning_notification(EWarning::TPUPrintableError, false); _set_warning_notification(EWarning::FilamentPrintableError, false); diff --git a/src/slic3r/GUI/Plater.cpp b/src/slic3r/GUI/Plater.cpp index 64d8153ce..10f512a72 100644 --- a/src/slic3r/GUI/Plater.cpp +++ b/src/slic3r/GUI/Plater.cpp @@ -15698,12 +15698,12 @@ void Plater::validate_current_plate(bool& model_fits, bool& validate_error) NotificationManager::NotificationLevel::ErrorNotificationLevel); } - if (state == ModelInstancePVS_Limited) { + /*if (state == ModelInstancePVS_Limited) { p->notification_manager->push_plater_warning_notification(get_object_limited_text()); } else { p->notification_manager->close_plater_warning_notification(get_object_limited_text()); - } + }*/ } PartPlate* part_plate = p->partplate_list.get_curr_plate();