mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-14 13:06:02 +08:00
Accept STL files with spaces at the end of vertex lines. #119
This commit is contained in:
parent
cf33ec0a5c
commit
ca5dfc05e7
@ -45,7 +45,7 @@ sub read_file {
|
|||||||
sub _read_ascii {
|
sub _read_ascii {
|
||||||
my ($fh, $facets) = @_;
|
my ($fh, $facets) = @_;
|
||||||
|
|
||||||
my $point_re = qr/([^ ]+)\s+([^ ]+)\s+([^ ]+)$/;
|
my $point_re = qr/([^ ]+)\s+([^ ]+)\s+([^ ]+)\s*$/;
|
||||||
|
|
||||||
my $facet;
|
my $facet;
|
||||||
seek $fh, 0, 0;
|
seek $fh, 0, 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user