Accept STL files with spaces at the end of vertex lines. #119
This commit is contained in:
parent
cf33ec0a5c
commit
ca5dfc05e7
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ sub read_file {
|
|||
sub _read_ascii {
|
||||
my ($fh, $facets) = @_;
|
||||
|
||||
my $point_re = qr/([^ ]+)\s+([^ ]+)\s+([^ ]+)$/;
|
||||
my $point_re = qr/([^ ]+)\s+([^ ]+)\s+([^ ]+)\s*$/;
|
||||
|
||||
my $facet;
|
||||
seek $fh, 0, 0;
|
||||
|
|
Loading…
Reference in a new issue