mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-05-16 08:12:39 -07:00
Bugfix: the non-manifold warning was spitting out wrong coordinates
This commit is contained in:
@@ -152,9 +152,9 @@ sub check_manifoldness {
|
||||
my ($first_bad_edge_id) =
|
||||
grep { @{ $self->edges_facets->[$_] } != 2 } 0..$#{$self->edges_facets};
|
||||
if (defined $first_bad_edge_id) {
|
||||
warn sprintf "Warning: The input file contains a hole near edge %f-%f (not manifold). "
|
||||
warn sprintf "Warning: The input file contains a hole near edge %f,%f,%f-%f,%f,%f (not manifold). "
|
||||
. "You might want to repair it and retry, or to check the resulting G-code before printing anyway.\n",
|
||||
@{$self->edges->[$first_bad_edge_id]};
|
||||
map @{$self->vertices->[$_]}, @{$self->edges->[$first_bad_edge_id]};
|
||||
return 0;
|
||||
}
|
||||
return 1;
|
||||
|
||||
Reference in New Issue
Block a user