mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-18 11:02:08 +00:00
FIX: always empty popup in unprintable case
jira:NONE Signed-off-by: xun.zhang <xun.zhang@bambulab.com> Change-Id: I90fcb90ef01e8cc398683bf00eb8d87eefe95069 (cherry picked from commit f79ba9e315689202f592cac3dcc3027c4eae9164)
This commit is contained in:
@@ -15559,11 +15559,13 @@ void Plater::validate_current_plate(bool& model_fits, bool& validate_error)
|
||||
p->view3D->get_canvas3d()->set_sequential_print_clearance_polygons(polygons, height_polygons);
|
||||
}
|
||||
|
||||
auto clashed_text = get_object_clashed_text();
|
||||
if (!model_fits) {
|
||||
p->notification_manager->push_plater_error_notification(get_object_clashed_text());
|
||||
if(!clashed_text.empty())
|
||||
p->notification_manager->push_plater_error_notification(clashed_text);
|
||||
}
|
||||
else {
|
||||
p->notification_manager->close_plater_error_notification(get_object_clashed_text());
|
||||
p->notification_manager->close_plater_error_notification(clashed_text);
|
||||
}
|
||||
|
||||
if (state == ModelInstancePVS_Limited) {
|
||||
|
||||
Reference in New Issue
Block a user