• Patrick Labatut's avatar
    Fix saving / loading empty OBJ files · 3061c5b6
    Patrick Labatut authored
    Summary:
    OBJ files without vertices or faces should be allowed:
    - an OBJ with only vertices can represent a point cloud
    - an OBJ without any vertex or face is just empty
    - an OBJ with faces referencing inexistent vertices has invalid data
    
    Reviewed By: gkioxari
    
    Differential Revision: D20392526
    
    fbshipit-source-id: e72c846ff1e5787fb11d527af3fefa261f9eb0ee
    3061c5b6
test_obj_io.py 26.1 KB