]> git.tdb.fi Git - libs/gl.git/blobdiff - blender/io_mspgl/util.py
Check the flat qualifier from the correct member
[libs/gl.git] / blender / io_mspgl / util.py
index 8ca41bd8e845657edf33463dd643e259c80afc3d..bfabfa35a50b10927a4d7d810c477f5ab5d0e936 100644 (file)
@@ -1,5 +1,3 @@
-import os
-
 def linear_to_srgb(l):
        if l<0.0031308:
                return 12.92*l
@@ -12,11 +10,6 @@ def get_colormap(srgb):
        else:
                return lambda x: x
 
-def basename(path):
-       if path.startswith("//"):
-               path = path[2:]
-       return os.path.basename(path)
-
 def make_unique(values):
        seen = set()
        result = []