Closed
Description
π Bugs / Unexpected behaviors
There's a little bug in the _load_mesh
method in shapenet_base.py.
Instructions To Reproduce the Issue:
- Set the field
load_textures
toFalse
The code tries to return the value of textures
before it is assigned (since it happens only when the field is enabled) resulting in a UnboundLocalError: local variable 'textures' referenced before assignment
.
It should be initialized in advance or not returned at all when the field is disabled.
Metadata
Metadata
Assignees
Labels
No labels