Skip to content

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

@SaintZhao

Description

@SaintZhao

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions