From 48c67f6d94915bcb8c5b3be57efebafab2f467df 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 (cherry picked from commit ff02619730f6af3910b535c419fc798b4a9a9d62) --- 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 84b2f115bb..51234e6c32 100644 --- a/src/slic3r/GUI/GLCanvas3D.cpp +++ b/src/slic3r/GUI/GLCanvas3D.cpp @@ -2964,7 +2964,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()); @@ -2972,7 +2972,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) @@ -2997,7 +2997,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 c538991fa0..5a69b1f676 100644 --- a/src/slic3r/GUI/Plater.cpp +++ b/src/slic3r/GUI/Plater.cpp @@ -15613,12 +15613,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();