mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-23 22:54:08 -06:00
Make Repair() idempotent and lowercase
This commit is contained in:
parent
28b043e9a9
commit
5e34a9cf21
9 changed files with 16 additions and 82 deletions
|
@ -9,7 +9,7 @@ sub read_file {
|
|||
|
||||
my $tmesh = Slic3r::TriangleMesh::XS->new;
|
||||
$tmesh->ReadSTLFile(Slic3r::encode_path($file));
|
||||
$tmesh->Repair;
|
||||
$tmesh->repair;
|
||||
my ($vertices, $facets) = ($tmesh->vertices, $tmesh->facets);
|
||||
|
||||
my $model = Slic3r::Model->new;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue