Blender 2.62: Python
Matrix indexing was changed to conform to standard notation, so that it is
mat[row][column] rather than
mat[column][row]. This breaks compatibility for existing scripts, details on how to update here. - Template:Commit
- Matrices now have
colattributes for accessing rows and columns, e.g.
mat.colgives the second column. - Template:Commit
- Better formatting when printing matrices and other math data types - Template:Commit, Template:Commit
Matrix.translationadded, to access the translation component of a 4x4 matrix - Template:Commit
len(mat.col)instead - Template:Commit
Matrix.Identity()class method, to create an identity matrix of a specific size without having to specify all the values in the matrix - Template:Commit
- Support for arbitrary sized vectors (was limited to 2,3,4 previously) - Template:Commit
Presets can now be stored in XML, which has the advantages: - Template:Commit
- Missing attributes are ignored and don't error out like they would on a script when the API changes.
- Don't run code (secure to run from untrusted sources).
Addons can now add a presets directory in their directory, and it will be found by the presets system. - Template:Commit