Graphics Reference
In-Depth Information
Figure 13-7 Adding a new object
The bl_info Block
For add-ons, the first (uncommented) code should be the bl_info code block. This is a special part of the
code. When your script is saved in the appropriate directory for scripts, Blender will automatically read the
bl_info values for the script upon startup and again when you refresh the scripts using the F8 key. These
values will tell Blender how to classify the add-on so that it shows up correctly in the Add-ons panel of the user
preferences.
The code block in the template looks like this:
bl_info = {
"name": "New Object",
"author": "YourNameHere",
"version": (1, 0),
"blender": (2, 6, 2),
""
 
Search WWH ::




Custom Search