mirror of
https://git.mirrors.martin98.com/https://github.com/bambulab/BambuStudio.git
synced 2025-08-19 00:05:57 +08:00
ENH: GUI: remove object limited warning
jira: no-jira Change-Id: I89bc082721bdc05ed2f41febc12a4f4252308ac0
This commit is contained in:
parent
ee102e607e
commit
ff02619730
@ -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);
|
||||
|
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user