Reference/Release Notes/2.83/Python API
< Reference | Release Notes | 2.83
Blender 2.83: Python API
Compatibility
- Add-ons: in
bl_info,wiki_urlwas renamed todoc_url.wiki_urlis now deprecated. (a0ea0153c2) - Custom shaders need to be patched using the function
blender_srgb_to_framebuffer_space. This ensure the output color is transformed to the correct color space. (21c658b718, #74139)
Example of a patched fragment shader:
out vec4 out_color;
void main() {
vec4 srgb_color = vec4(0.5);
out_color = blender_srgb_to_framebuffer_space(srgb_color);
}
- Blender version numbers changed to standard
MAJOR.MINOR.PATCHformat. Most scripts will continue to work without changes.bpy.app.versionnow returns(MAJOR, MINOR, PATCH). ThePATCHversion is0for the first stable release and increases for every bugfix release. Sub-version numbers or letters are no longer used.bpy.app.version_stringnow includesAlphaorBetafor releases under development, for example2.90 Alpha.- Add-ons compatible with Blender 2.83 should set
"blender": (2, 83, 0)inbl_info, or lower if compatible with earlier versions.
New
- Nodes: new
bl_iconon custom nodes to display an icon in the node header. (120a38c). - New
foreach_setandforeach_getmethods on array properties like image pixels. This is significantly more efficient than accessing individual elements. (9075ec8269)