Esempio n. 1
0
 def poll(cls, context):
     mat = context.material
     engine = context.scene.render.engine
     #
     return check_material(mat) and (mat.bounty.mat_type
                                     in cls.material_type) and (
                                         engine in cls.COMPAT_ENGINES)
 def poll(cls, context):
     yaf_mat = context.material
     engine = context.scene.render.engine
     return check_material(yaf_mat) and (yaf_mat.mat_type in cls.material_type) and (engine in cls.COMPAT_ENGINES)
Esempio n. 3
0
 def poll(cls, context):
     arnold_mat = context.material
     engine = context.scene.render.engine
     return check_material(arnold_mat) and  (engine in cls.COMPAT_ENGINES)