Skip to content
Snippets Groups Projects
texturing_properties.py 34.5 KiB
Newer Older
  • Learn to ignore specific revisions
  • Maurice Raybaud's avatar
    Maurice Raybaud committed
    
    
    def register():
        for cls in classes:
            register_class(cls)
    
        bpy.types.Material.pov_texture_slots = CollectionProperty(type=MaterialTextureSlot)
        bpy.types.Texture.pov = PointerProperty(type=RenderPovSettingsTexture)
    
    
    def unregister():
        del bpy.types.Texture.pov
        del bpy.types.Material.pov_texture_slots
    
        for cls in reversed(classes):
            unregister_class(cls)