Added missing encoding in STL repair

This commit is contained in:
Alessandro Ranellucci 2013-11-13 11:12:06 +01:00
parent 4be1e5702a
commit bb37048c35

View file

@ -229,9 +229,9 @@ sub repair_stl {
}
my $tmesh = Slic3r::TriangleMesh->new;
$tmesh->ReadSTLFile($input_file);
$tmesh->ReadSTLFile(Slic3r::encode_path($input_file));
$tmesh->repair;
$tmesh->WriteOBJFile($output_file);
$tmesh->WriteOBJFile(Slic3r::encode_path($output_file));
Slic3r::GUI::show_info($self, "Your file was repaired.", "Repair");
}