+ self.layout.prop(mat, "array_layer")
+ if mat.render_mode!='EXTERNAL':
+ self.layout.prop(mat, "material_map")
+
+class MspGLTextureNodeProperties(bpy.types.Panel):
+ bl_idname = "NODE_PT_mspgl_properties"
+ bl_label = "MspGL properties"
+ bl_space_type = "NODE_EDITOR"
+ bl_region_type = "UI"
+ bl_category = "Item"
+
+ @classmethod
+ def poll(cls, context):
+ node = context.active_node
+ return node and node.type=='TEX_IMAGE'
+
+ def draw(self, context):
+ node = context.active_node
+ if not node:
+ return
+
+ self.layout.prop(node, "default_filter")
+ if not node.default_filter:
+ self.layout.prop(node, "use_mipmap")
+ self.layout.prop(node, "max_anisotropy")
+
+classes = [MspGLMeshProperties, MspGLObjectProperties, MspGLMaterialProperties, MspGLTextureNodeProperties]