X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=blender%2Fio_mspgl%2Fmaterial.py;h=ccbf0083f143988af633523c2b4ec2b30e10d55c;hb=4291fcf9489087492085b70e7960bdb3dbb5dc9c;hp=ff145515db5febe6cdf1a518237e5a7d186d1e77;hpb=f2d504006ec97c7d84e8059c48f5a37e005ece5f;p=libs%2Fgl.git diff --git a/blender/io_mspgl/material.py b/blender/io_mspgl/material.py index ff145515..ccbf0083 100644 --- a/blender/io_mspgl/material.py +++ b/blender/io_mspgl/material.py @@ -225,6 +225,7 @@ class Material: self.blend_type = 'ALPHA' if material.blend_method=='BLEND' else 'NONE' self.alpha_cutoff = material.alpha_threshold if material.blend_method=='CLIP' else 0.0 self.image_based_lighting = material.image_based_lighting + self.instancing = material.instancing if self.render_mode=='EXTERNAL' and not self.technique: raise Exception("Invalid configuration on material {}: No technique for external rendering".format(self.name))