Skip to content
Snippets Groups Projects
Commit 959f9d28 authored by Bastien Montagne's avatar Bastien Montagne
Browse files

Fix T49357: OBJ importer cannot deal with texture names with spaces.

OBJ/MTL does not support spaces in filenames, but... users keep using them - and other exporters
keep failing at being smart for the user here (like, replacing spaces with underscore etc.)...

So now, when last part of a texture line is not giving any valid found image, we try backward
adding more pieces to image filename until we find some existing file (hopefully).

But again: please do not use spaces in filenames for OBJ, **THIS IS NOT SUPPORTED**!
parent 71a8a896
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment