Make Repair() idempotent and lowercase

This commit is contained in:
Alessandro Ranellucci 2013-09-09 23:18:33 +02:00
parent 28b043e9a9
commit 5e34a9cf21
9 changed files with 16 additions and 82 deletions

View file

@ -103,7 +103,7 @@ if (@ARGV) { # slicing from command line
$output_file =~ s/\.(stl)$/_fixed.obj/i;
my $tmesh = Slic3r::TriangleMesh::XS->new();
$tmesh->ReadSTLFile($file);
$tmesh->Repair;
$tmesh->repair;
$tmesh->WriteOBJFile($output_file);
}
exit;