]> git.tdb.fi Git - libs/gl.git/commit
Fix filename handling in the Blender exporter on Windows
authorMikko Rasa <tdb@tdb.fi>
Sat, 13 Feb 2021 20:08:01 +0000 (22:08 +0200)
committerMikko Rasa <tdb@tdb.fi>
Sat, 13 Feb 2021 20:08:01 +0000 (22:08 +0200)
commitcf6eec94b7d02885c00c6b8d79380aae7d7669f5
treee14806a1d8f47161b44d04e966d3cb56098cfe2a
parent63f2a2ab4e13392b3add0cefcb65c193451ee4d3
Fix filename handling in the Blender exporter on Windows

os.path.basename seems to consider the // prefix to indicate a UNC
path and will return an empty string if the path contains exactly
two components.
blender/io_mspgl/export_material.py
blender/io_mspgl/export_texture.py
blender/io_mspgl/util.py