Skip to content

Commit

Permalink
Merge pull request #102 from JuliaIO/ff/ascii
Browse files Browse the repository at this point in the history
Remove ascii check in obj file parsing
  • Loading branch information
SimonDanisch authored Dec 15, 2024
2 parents fd17a83 + 0ddc863 commit 96662c2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/io/obj.jl
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ function load(fn::File{format"OBJ"}; facetype=GLTriangleFace,
for full_line in eachline(stream(io))
# read a line, remove newline and leading/trailing whitespaces
line = strip(chomp(full_line))
!isascii(line) && error("non valid ascii in obj")

if !startswith(line, "#") && !isempty(line) && !all(iscntrl, line) #ignore comments
lines = split(line)
Expand Down

0 comments on commit 96662c2

Please sign in to comment.