diff options
Diffstat (limited to 'utils/split_stl.pl')
-rwxr-xr-x | utils/split_stl.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/split_stl.pl b/utils/split_stl.pl index 8e7d957a4..23fc91b26 100755 --- a/utils/split_stl.pl +++ b/utils/split_stl.pl @@ -25,7 +25,7 @@ my %opt = (); } { - my $model = Slic3r::Format::STL->read_file($ARGV[0]); + my $model = Slic3r::Model->load_stl(Slic3r::encode_path($ARGV[0]), basename($ARGV[0])); my $basename = $ARGV[0]; $basename =~ s/\.stl$//i; |