]> OCCT Git - occt.git/commit
Data Exchange, RWObj_Reader - Facets with empty normals like 'f 1// 2// 3//' (#520)
authorKirill Gavrilov <kirill@sview.ru>
Wed, 16 Jul 2025 12:16:52 +0000 (13:16 +0100)
committerdpasukhi <dpasukhi@opencascade.com>
Sat, 6 Sep 2025 20:18:29 +0000 (21:18 +0100)
commit189e6615cb67262cbe3373a17e8de3b4c8d18352
tree257678cb335db4ad5405a6958441b13275accfef
parent4ed2444ad214bd3e6fcaefd63565a7f463a52f0d
Data Exchange, RWObj_Reader - Facets with empty normals like 'f 1// 2// 3//' (#520)

Removing an obsolete header comment in the PPM writer
Correcting the handling of facet indices when normals or texture coordinates are empty in the OBJ reader.
- In Image_AlienPixMap.cxx, the unused header comment is removed.
- In Graphic3d_Aspects.hxx, the default viewer settings comment is updated.
- In RWObj_Reader.cxx, additional checks are added
    to correctly parse OBJ face definitions with empty texture and normal indices.
src/RWObj/RWObj_Reader.cxx
tests/de_mesh/obj_read/emptynorm [new file with mode: 0644]