diff options
author | bubnikv <bubnikv@gmail.com> | 2017-02-27 02:38:30 +0300 |
---|---|---|
committer | bubnikv <bubnikv@gmail.com> | 2017-02-27 02:38:30 +0300 |
commit | f0f550783febed5d34d19959bab96afcbaa7069b (patch) | |
tree | a46d39fe37e33ddc7f12a867e2d1ac080f999e9d /utils | |
parent | 9ea570ea4e9322ab73cf43634a60e2d6f0b22c17 (diff) |
Good bye, Perl Expat binding!
Diffstat (limited to 'utils')
-rwxr-xr-x | utils/amf-to-stl.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/amf-to-stl.pl b/utils/amf-to-stl.pl index b421dd33a..8b26cedb3 100755 --- a/utils/amf-to-stl.pl +++ b/utils/amf-to-stl.pl @@ -25,7 +25,7 @@ my %opt = (); } { - my $model = Slic3r::Format::AMF->read_file($ARGV[0]); + my $model = Slic3r::Model->load_amf(Slic3r::encode_path($ARGV[0])); my $output_file = $ARGV[0]; $output_file =~ s/\.amf(?:\.xml)?$/\.stl/i; |