diff options
author | bubnikv <bubnikv@gmail.com> | 2017-02-27 03:03:00 +0300 |
---|---|---|
committer | bubnikv <bubnikv@gmail.com> | 2017-02-27 03:03:00 +0300 |
commit | ee619701d8a275d6ab782ed53de3f8134c8a4e56 (patch) | |
tree | e737dae5a0443b6debc470bcf3e5725557f7075e /slic3r.pl | |
parent | f0f550783febed5d34d19959bab96afcbaa7069b (diff) |
Got rid of the Perl Format::STL, Format::AMF, Format::OBJ for good.
Diffstat (limited to 'slic3r.pl')
-rwxr-xr-x | slic3r.pl | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -172,7 +172,7 @@ if (@ARGV) { # slicing from command line foreach my $new_mesh (@{$mesh->split}) { my $output_file = sprintf '%s_%02d.stl', $file, ++$part_count; printf "Writing to %s\n", basename($output_file); - Slic3r::Format::STL->write_file($output_file, $new_mesh, binary => 1); + $new_mesh->write_binary(Slic3r::encode_path($output_file)); } } exit; |