Blender Git Commit Log

Git Commits -> Revision 2492c12

Revision 2492c12 by Luca Bonavita (master)
August 31, 2010, 02:41 (GMT)
== userprefs: addons ==

- From now on addons bl_addon_info['name'] doesn't need to specifcy also the category, it is put automatically in the addon box title
In some script category and the category in the title were not matching, this had to be fixed manually.

- The warning icon is at the right of the addon box title, so that it cant disalign the addon name anymore when we have a warning.

- After discussing with Campbell, I've added the field bl_addon_info['api'] where we should specify the Blender API version number the addon is
compatible with.
This is certainly useful for clarity, and also I need it in place while preparing the downloadable addons.

- Also, bl_addon_info['version'] is now assumed to be a tuple of integers as it is bl_addon_info['blender'].
Any important text should be placed in the bl_addon_info['warning'] field, not in the script version anymore.
I'm going to reflect this change in bf-extensions so that scripts won't suddenly break.

Commit Details:

Full Hash: 2492c12170abdb743f5f6a43ad060fadd8eb8cee
SVN Revision: 31671
Parent Commit: fb1a059
Lines Changed: +5, -4

1 Modified Path:

/release/scripts/ui/space_userpref.py (+5, -4) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021