Blender Git Loki
Git Commits -> Revision ec1c9e3
Revision ec1c9e3 by Alexander Gavrilov (master) May 19, 2019, 12:03 (GMT) |
Python API: add a Matrix.Diagonal constructor to mathutils. For some reason there seems to be no way to do the very simple and obvious task of converting a scale vector to a matrix via mathutils. The Matrix.Scale constructor does something complicated instead. Reviewers: brecht, campbellbarton Differential Revision: https://developer.blender.org/D4893 |
Commit Details:
Full Hash: ec1c9e325874eab4d75d0240473da2ca3c858a46
Parent Commit: d150c89
Lines Changed: +29, -0
1 Modified Path:
/source/blender/python/mathutils/mathutils_Matrix.c (+29, -0) (Diff)