Fix parser

This commit is contained in:
Thomas Forgione 2022-09-12 14:18:36 +02:00
parent 65386c580a
commit ecb8c35ecc
1 changed files with 3 additions and 0 deletions

View File

@ -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: