fixed typo in rgba mesh parser

This commit is contained in:
joric 2018-01-19 09:40:25 +05:00
parent dc7c18d7e9
commit 90b3b48857

View File

@ -395,7 +395,7 @@ def parse_node(next, level=0):
while plik.tell()<nextv: while plik.tell()<nextv:
v = f(3) v = f(3)
n = f(3) if flags&1 else [] n = f(3) if flags&1 else []
rgba = f[4] if flags&2 else [] rgba = f(4) if flags&2 else []
tex_coords = f(tcs*tcss) tex_coords = f(tcs*tcss)
vertices.append((v,n,rgba,tex_coords)) vertices.append((v,n,rgba,tex_coords))