]> git.tdb.fi Git - libs/gl.git/blobdiff - blender/io_mspgl/export_material.py
An assortment of minor fixes
[libs/gl.git] / blender / io_mspgl / export_material.py
index 4c40757f395421608ea13079d1b68fcae57c9c6c..a0c0432e993e2b37f1077036bfbc8dbbdc3613d5 100644 (file)
@@ -153,7 +153,6 @@ class MaterialExporter:
 
                spec_values = {}
 
-               color_prop = material.properties[0]
                if material.cast_shadows and material.alpha_cutoff>0.0:
                        spec_values["use_alpha_cutoff"] = True
                        variant += "_masked"