mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-07-03 17:05:43 +02:00
Added missing encoding in STL repair
This commit is contained in:
@@ -229,9 +229,9 @@ sub repair_stl {
|
|||||||
}
|
}
|
||||||
|
|
||||||
my $tmesh = Slic3r::TriangleMesh->new;
|
my $tmesh = Slic3r::TriangleMesh->new;
|
||||||
$tmesh->ReadSTLFile($input_file);
|
$tmesh->ReadSTLFile(Slic3r::encode_path($input_file));
|
||||||
$tmesh->repair;
|
$tmesh->repair;
|
||||||
$tmesh->WriteOBJFile($output_file);
|
$tmesh->WriteOBJFile(Slic3r::encode_path($output_file));
|
||||||
Slic3r::GUI::show_info($self, "Your file was repaired.", "Repair");
|
Slic3r::GUI::show_info($self, "Your file was repaired.", "Repair");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user