mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-18 19:12:17 +00:00
Suggest repair in non-manifold warning
This commit is contained in:
@@ -131,8 +131,8 @@ sub check_manifoldness {
|
|||||||
my ($first_bad_edge_id) =
|
my ($first_bad_edge_id) =
|
||||||
grep { @{ $self->edges_facets->[$_] } != 2 } 0..$#{$self->edges_facets};
|
grep { @{ $self->edges_facets->[$_] } != 2 } 0..$#{$self->edges_facets};
|
||||||
if (defined $first_bad_edge_id) {
|
if (defined $first_bad_edge_id) {
|
||||||
warn sprintf "Warning: The input file is not manifold near edge %f-%f. "
|
warn sprintf "Warning: The input file contains a hole near edge %f-%f (not manifold). "
|
||||||
. "You might want to check the resulting G-code before printing.\n",
|
. "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]};
|
@{$self->edges->[$first_bad_edge_id]};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user