mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2026-01-08 15:57:47 -07:00
ENH: GUI: remove object limited warning
jira: no-jira Change-Id: I89bc082721bdc05ed2f41febc12a4f4252308ac0 (cherry picked from commit ff02619730f6af3910b535c419fc798b4a9a9d62)
This commit is contained in:
parent
d6715225c7
commit
48c67f6d94
2 changed files with 5 additions and 5 deletions
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue