jrender icon indicating copy to clipboard operation
jrender copied to clipboard

官方demo2运行报错:“UnboundLocalError: local variable 'face_texcoords' referenced before assignment”

Open SaintZhao opened this issue 3 years ago • 0 comments

Traceback (most recent call last): File "E:\Game_Dev\jrender\demo2-deform.py", line 107, in main() File "E:\Game_Dev\jrender\demo2-deform.py", line 63, in main model = Model(args.template_mesh) File "E:\Game_Dev\jrender\demo2-deform.py", line 22, in init self.template_mesh = jr.Mesh.from_obj(template_path, dr_type='n3mr') File "E:\Game_Dev\jrender\jrender\structures\mesh.py", line 302, in from_obj return cls(vertices, faces, textures, texture_res, texture_type, dr_type=dr_type,normal_textures=normal_textures,TBN=TBN,with_SSS=with_SSS,face_texcoords=face_texcoords) UnboundLocalError: local variable 'face_texcoords' referenced before assignment

SaintZhao avatar Aug 11 '22 08:08 SaintZhao