Skip to content

Commit

Permalink
use correct length
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonDanisch committed Dec 7, 2017
1 parent a859965 commit e145c9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/io/obj.jl
Expand Up @@ -42,7 +42,7 @@ function load{MT <: AbstractMesh}(io::Stream{format"OBJ"}, MeshType::Type{MT} =
push!(f, triangulated_faces(Tf, lines)...)
continue
end
for i = 1:length(fs)
for i = 1:length(first(fs))
push!(f_uv_n_faces[i], triangulated_faces(Tf, getindex.(fs, i))...)
end
else
Expand Down

0 comments on commit e145c9f

Please sign in to comment.