From bb37048c354bb0f3671d69756d10c293bc508511 Mon Sep 17 00:00:00 2001 From: Alessandro Ranellucci Date: Wed, 13 Nov 2013 11:12:06 +0100 Subject: [PATCH] Added missing encoding in STL repair --- lib/Slic3r/GUI/SkeinPanel.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Slic3r/GUI/SkeinPanel.pm b/lib/Slic3r/GUI/SkeinPanel.pm index 3fd246de8..2ea3dd765 100644 --- a/lib/Slic3r/GUI/SkeinPanel.pm +++ b/lib/Slic3r/GUI/SkeinPanel.pm @@ -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"); }