JuliaIO / MeshIO.jl

IO for Meshes
Other
79 stars 32 forks source link

fix obj vertex//normal face format #38

Closed rdeits closed 6 years ago

rdeits commented 6 years ago

The order of if statements in obj.jl was backwards, which caused faces of the form f 1//1 2//2 3//3 to be split incorrectly and broke loading of those meshes. This PR fixes that comparison and adds a test of that kind of mesh.

rdeits commented 6 years ago

cc @tkoolen

rdeits commented 6 years ago

Ok, @SimonDanisch I think this is working on 0.6 (and failing due to unrelated FileIO issues on 0.7)

SimonDanisch commented 6 years ago

Thanks for this! :)