if not mat:
return
- self.layout_prop(mat, "render_mode")
+ self.layout.prop(mat, "render_mode")
if mat.render_mode=='CUSTOM':
- self.layout_prop(mat, "shader")
+ self.layout.prop(mat, "shader")
elif mat.render_mode=='EXTERNAL':
- self.layout_prop(mat, "technique")
+ self.layout.prop(mat, "technique")
self.layout.prop(mat, "array_atlas")
if mat.array_atlas:
self.layout.prop(mat, "array_layer")