mirror of
https://git.mirrors.martin98.com/https://github.com/bambulab/BambuStudio.git
synced 2025-08-06 04:47:16 +08:00
ENH:remove warning of "too close to others"
Jira: STUDIO-6394 Change-Id: Ic2858ad328f36219a47f87c534ae0fd4d15c0b0c
This commit is contained in:
parent
a6e9ffc131
commit
50a3757e61
@ -855,12 +855,12 @@ static StringObjectException layered_print_cleareance_valid(const Print &print,
|
||||
Polygon& convex_hull = it_convex_hull->second;
|
||||
Polygons convex_hulls_temp;
|
||||
convex_hulls_temp.push_back(convex_hull);
|
||||
if (!intersection(convex_hulls_other, convex_hulls_temp).empty()) {
|
||||
/*if (!intersection(convex_hulls_other, convex_hulls_temp).empty()) {
|
||||
if (warning) {
|
||||
warning->string = inst->model_instance->get_object()->name + L(" is too close to others, there may be collisions when printing.") + "\n";
|
||||
warning->object = inst->model_instance->get_object();
|
||||
}
|
||||
}
|
||||
}*/
|
||||
if (!intersection(exclude_polys, convex_hull).empty()) {
|
||||
return {inst->model_instance->get_object()->name + L(" is too close to exclusion area, there may be collisions when printing.") + "\n", inst->model_instance->get_object()};
|
||||
/*if (warning) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user