• Patrick Labatut's avatar
    Fix saving / loading empty PLY meshes · 83feed56
    Patrick Labatut authored
    Summary:
    Similar to D20392526, PLY files without vertices or faces should be allowed:
    - a PLY with only vertices can represent a point cloud
    - a PLY without any vertex or face is just empty
    - a PLY with faces referencing inexistent vertices has invalid data
    
    Reviewed By: gkioxari
    
    Differential Revision: D20400330
    
    fbshipit-source-id: 35a5f072603fd221f382c7faad5f37c3e0b49bb1
    83feed56
test_ply_io.py 19 KB