From BlenderWiki

Jump to: navigation, search

Blender 2.66: Addons

EDL Import

New: EDL Import (Video)

The EDL import support has been updated to support recent blender versions (was last included in 2.49).

F2

New: F2 (Modeling)

This addon extends Blender native functionality of creating faces.
It allows to create a face from a single vertex selection or a single edge selection, while retaining all the built-in functionality.

New: MS3D (MilkShape 3D)

This addon supports import and export of MS3D files with meshes, uv maps, materials, armatures, animation and comments. MS3D properties and smoothing groups are exposed to the to Blender user interface to be able to tweak the export of MS3D files.


OBJ Import/Export

OBJ now supports import and export of Ngons.


Python API

Template List

For addon developers: if you were using template_list or callback_add/callback_remove in previous version of Blender, you’ll have to update:

UI's template_list was refactored to be much more flexible and give real control over items' drawing. See the UIList and the UILayout.template_list docs.

Region Draw Callbacks

Region drawing callbacks were changed to work much closer to how blender manages them internally. See r53207, callback_add docs and Simple Modal View3D Operator python template.

Restricted Context

To avoid errors on accessing blend-file data while addons register() / unregister(), Blender now restricts access to bpy.context and bpy.data.

This is done because there is no assurance that the data loaded when the addon is registered will be active or even exist when the user accesses operators the addon defines.

If you see an exception like this, then the addon needs to be updated to access the context during execution rather then on registration.

AttributeError: '_RestrictContext' object has no attribute 'scene'

See: mailing list thread