Skip to content

Fix OBJ reader edge cases

This fixes two issues with the vtkOBJReader.

  • First one happens when there is an empty comment at the end of the first comment block:
# like this
#
...
  • Second one is related to the optional 4th and 3rd value on the "v" and "vt" command respectively. They are still ignored, but the warning has been removed for this cas.
v x y z [w]
vt u v [w]

Please review, @mwestphal @cory.quammen

Fixes paraview/paraview#22606
Fixes paraview/paraview#22608

Edited by Alexy Pellegrini

Merge request reports