+ self.layout.prop(mat, "array_layer")
+ self.layout.prop(mat, "material_map")
+
+class MspGLTextureProperties(bpy.types.Panel):
+ bl_idname = "TEXTURE_PT_mspgl_properties"
+ bl_label = "MspGL properties"
+ bl_space_type = "PROPERTIES"
+ bl_region_type = "WINDOW"
+ bl_context = "texture"
+
+ @classmethod
+ def poll(cls, context):
+ mat = context.active_object.active_material
+ return mat is not None and mat.active_texture is not None
+
+ def draw(self, context):
+ tex = context.active_object.active_material.active_texture
+ if not tex:
+ return
+
+ self.layout.prop(tex, "default_filter")