Comments (#) aren't supported.
Closed this issue · 2 comments
figgles commented
According to the OBJ spec linked on the main page, comment lines should be ignored, but they aren't. Instead, the program just bombs:
[FATAL] line:4 Unsupported line "#98 vertices, 124 faces"
Please submit a bug report. If you can, provide this file as an attachement.
> https://github.com/jonnenauha/obj-simplify/issues
jonnenauha commented
It is supported https://github.com/jonnenauha/obj-simplify/blob/master/objectfile/structs.go#L93-L96
But seems that if there is no space after the #
it will bork
Lines 194 to 201 in e8ec722
Thanks for the report, I'll fix it.
jonnenauha commented
I made a release with this fix included https://github.com/jonnenauha/obj-simplify/releases/tag/1.1