X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=blender%2Fio_mspgl%2Futil.py;h=6e8ec7746bde7c41b5c4791dfca602d7dd65503b;hp=70b005f6df60e84db38ea8c35c03fc0bbcc79123;hb=5be6340cbd5da619db56e1658da56840fcfd6293;hpb=405c00de24374c282adb1116551a833b8130d76d diff --git a/blender/io_mspgl/util.py b/blender/io_mspgl/util.py index 70b005f6..6e8ec774 100644 --- a/blender/io_mspgl/util.py +++ b/blender/io_mspgl/util.py @@ -1,5 +1,3 @@ -import os - class Progress: def __init__(self, context): self.task = "" @@ -63,10 +61,3 @@ def get_colormap(srgb): return linear_to_srgb else: return lambda x: x - -def image_name(img): - fp = img.filepath - if fp: - return os.path.split(fp)[1] - else: - return img.name