diff options
author | Alessandro Ranellucci <aar@cpan.org> | 2013-07-06 13:39:28 +0400 |
---|---|---|
committer | Alessandro Ranellucci <aar@cpan.org> | 2013-07-06 13:39:28 +0400 |
commit | ab584babf6bcc1e4520cf60a663e6006298a5c1b (patch) | |
tree | 4bffe8bd5f4fa6863f99c37265acbc4715dba084 /lib | |
parent | 28f8083ab7c76ce8bfee1f4c879e2fb57d36c238 (diff) |
Encode Windows paths for the C STL reader
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Slic3r/Format/STL.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Slic3r/Format/STL.pm b/lib/Slic3r/Format/STL.pm index 705c7537a..48b242933 100644 --- a/lib/Slic3r/Format/STL.pm +++ b/lib/Slic3r/Format/STL.pm @@ -8,7 +8,7 @@ sub read_file { my ($file) = @_; my $tmesh = Slic3r::TriangleMesh::XS->new; - $tmesh->ReadSTLFile($file); + $tmesh->ReadSTLFile(Slic3r::encode_path($file)); $tmesh->Repair; my ($vertices, $facets) = @{$tmesh->ToPerl}; |