bpy.types.Scene.auto_download_previews=bpy.props.BoolProperty(name="Auto-preview",default=False,description="Automatically download material previews")
bpy.types.Scene.material_subcategory=bpy.props.EnumProperty(name="",items=subcategory_enum_items,description="Choose a subcategory",options={'SKIP_SAVE'})
classOnlineMaterialLibraryPanel(bpy.types.Panel):
"""Creates a Panel in the Object properties window"""
row.operator("wm.url_open",text="All materials are CC0 - learn more.",emboss=False).url="http://creativecommons.org/publicdomain/zero/1.0/"
row=layout.row()
row.operator("wm.url_open",text="Material previews generated with B.M.P.S.",emboss=False).url="https://svn.blender.org/svnroot/bf-blender/trunk/lib/tests/rendering/cycles/bmps.blend"
row=layout.row()
row.operator("wm.url_open",text="B.M.P.S. created by Robin \"tuqueque\" Marín",emboss=False).url="http://blenderartists.org/forum/showthread.php?151903-b.m.p.s.-1.5!"
print("The material file contains the node name \"%s\", which is not known. The material file may contain a typo, or you may need to check for updates to this addon."%node_data[0])