pywavefront / PyWavefront

Python library for importing Wavefront .obj files
BSD 3-Clause "New" or "Revised" License
312 stars 80 forks source link

Infinite loop while parsing obj file #123

Closed Mikhail57 closed 3 years ago

Mikhail57 commented 3 years ago

I found a file that cannot be proceeded by the library. It's trying to parse, but cannot go over the first vertice

Sample road1.obj file:

# Blender v2.82 (sub 7) OBJ File: ''
# www.blender.org
mtllib tester.mtl
o Cube
v -0.500639 1.816088 1.058783

tester.mtl:

# Blender MTL File: 'road1.blend'
# Material Count: 0
einarf commented 3 years ago

This is merged now

einarf commented 3 years ago

1.3.3 should be on PyPI : https://pypi.org/project/PyWavefront/1.3.3/