Skip to content
Snippets Groups Projects
  • Bastien Montagne's avatar
    05dc8caa
    Fix T67266: .obj import error with mtllib name in quotes - regression from 2.79b. · 05dc8caa
    Bastien Montagne authored
    While this is not officialy part of OBJ format, some softwares 'solve'
    the spaces-in-filenames issue by delimiting those with quotes.
    
    Since this is not too much a hassle, let's add back support for this.
    
    Based on work from Robert Guetzkow (@rjg), thanks.
    
    Note: not sure whether this should be ported to 2.80 release, while this
    change should be reasonably safe, it's not an obvious one-liner either,
    and the issue is not really critical (don’t think any major software
    uses that trick?)...
    05dc8caa
    History
    Fix T67266: .obj import error with mtllib name in quotes - regression from 2.79b.
    Bastien Montagne authored
    While this is not officialy part of OBJ format, some softwares 'solve'
    the spaces-in-filenames issue by delimiting those with quotes.
    
    Since this is not too much a hassle, let's add back support for this.
    
    Based on work from Robert Guetzkow (@rjg), thanks.
    
    Note: not sure whether this should be ported to 2.80 release, while this
    change should be reasonably safe, it's not an obvious one-liner either,
    and the issue is not really critical (don’t think any major software
    uses that trick?)...
import_obj.py 55.44 KiB