fast_obj icon indicating copy to clipboard operation
fast_obj copied to clipboard

Trim trailing whitespaces from mtllib definitions

Open mario-deluna opened this issue 2 years ago • 0 comments

It seems some obj exporters leave a trailing whitespace after the mtllib declaration. This commit simply checks and removes trailing whitespaces from that lib path.

Im not sure this is an appropriate solution for the lib as im not sure if this issues is too specific to my situation. Also I did not check if trailing whitespaces can become an issue in other parts.

Nonetheless, somebody else might run into this so I decided to share.

mario-deluna avatar Aug 31 '22 19:08 mario-deluna