Compare commits
No commits in common. "master" and "a8d809a7ea7d86f067ea60471518db2c463d866c" have entirely different histories.
master
...
a8d809a7ea
|
@ -55,15 +55,12 @@ class OBJParser(TextModelParser):
|
|||
|
||||
for i in range(len(splits)):
|
||||
for j in range(len(splits[i])):
|
||||
if splits[i][j] != '':
|
||||
if splits[i][j] is not '':
|
||||
splits[i][j] = int(splits[i][j])
|
||||
if splits[i][j] > 0:
|
||||
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