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 i in range(len(splits)):
|
||||||
for j in range(len(splits[i])):
|
for j in range(len(splits[i])):
|
||||||
if splits[i][j] != '':
|
if splits[i][j] is not '':
|
||||||
splits[i][j] = int(splits[i][j])
|
splits[i][j] = int(splits[i][j])
|
||||||
if splits[i][j] > 0:
|
if splits[i][j] > 0:
|
||||||
splits[i][j] -= 1
|
splits[i][j] -= 1
|
||||||
else:
|
else:
|
||||||
splits[i][j] = len(self.vertices) + splits[i][j]
|
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 Face3
|
||||||
if len(split) == 3:
|
if len(split) == 3:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user