This patch fixes T83671.
OBJ files require that parameters are specified after every line start element except the "end" command.
This patch skips all lines that are missing that information unless there is a multi line context.
Differential D9828
Skip malformatted lines that contain a line start element but no other information Authored by Jens (Jens.Ne) on Dec 11 2020, 4:30 PM.
Details This patch fixes T83671. OBJ files require that parameters are specified after every line start element except the "end" command.
Diff Detail
Event TimelineComment Actions There is at least one OBJ command that does not take any parameter (the end of parametric geometry). In general am not really happy to complicate our code to work around invalid files, but in that specific case I think we do can accept a proper check for such 'empty' lines... Comment Actions
Sorry, I missed that one.
Yeah, I see that this kind of blacklist approach can produce a huge number of fixes for all kinds of errors in files. Since I found only the "end" command to be valid without parameters I updated the diff to take that into account. |