]> git.tdb.fi Git - libs/gl.git/blobdiff - blender/io_mspgl/export_material.py
Support exporting unlit materials
[libs/gl.git] / blender / io_mspgl / export_material.py
index 1df5347098571a3a84d25db46f1df91c3626d229..d69389cc2e024e52a304d1fcb6171bcc5e0ceaa0 100644 (file)
@@ -64,7 +64,7 @@ class MaterialExporter:
                from .datafile import Resource, Statement
                mat_res = Resource(material.name+".mat", "material")
 
-               if material.type!="pbr":
+               if material.type!="pbr" and material.type!="unlit":
                        raise Exception("Can't export unknown material type "+material.type)
 
                st = Statement(material.type)