Make Repair() idempotent and lowercase

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

No files matched your search

+1 -1
View File
@@ -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;