Fix parser
This commit is contained in:
parent
65386c580a
commit
ecb8c35ecc
|
@ -61,6 +61,9 @@ class OBJParser(TextModelParser):
|
|||
splits[i][j] -= 1
|
||||
else:
|
||||
splits[i][j] = len(self.vertices) + splits[i][j]
|
||||
elif j == 1:
|
||||
# Here, splits[i][j] == '', so we must set the value to None
|
||||
splits[i][j] = None
|
||||
|
||||
# if Face3
|
||||
if len(split) == 3:
|
||||
|
|
Loading…
Reference in New Issue