mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-24 15:13:58 -06:00
Encode Windows paths for the C STL reader
This commit is contained in:
parent
28f8083ab7
commit
ab584babf6
1 changed files with 1 additions and 1 deletions
|
@ -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};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue