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 1c46e9729..ac890fc3e 100755 --- a/utils/split_stl.pl +++ b/utils/split_stl.pl @@ -27,7 +27,7 @@ my %opt = (); { my $model = Slic3r::Model->load_stl(Slic3r::encode_path($ARGV[0]), basename($ARGV[0])); my $basename = $ARGV[0]; - $basename =~ s/\.stl$//i; + $basename =~ s/\.[sS][tT][lL]$//; my $part_count = 0; my $mesh = $model->objects->[0]->volumes->[0]->mesh; |