]> 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>
Wed, 16 Jul 2025 14:24:48 +0000 (15:24 +0100)
commit468bcd0c27d82d32d69c1680ea5f57145c3ead63
tree8c60f4475ac7aa58a985d23532a7c07123b7d034
parent90b0e1d5904e2366f23c52d2bd24fd2bcd6121dd
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/DataExchange/TKDEOBJ/RWObj/RWObj_Reader.cxx
tests/de_mesh/obj_read/emptynorm [new file with mode: 0644]