Blender Git Loki
Git Commits -> Revision e44c49d
Revision e44c49d by Bastien Montagne (master) September 6, 2014, 12:58 (GMT) |
Py Mathutils: add `invert_safe()` and `inverted_safe()` to `Matrix`. Those two mimic our BLI invert_m4_m4_safe - they add a small offset to diagonal values, in case org matrix is degenerated, and if still non-invertible, return identity matrix. Org patch by me, final enhanced version by ideasman42, many thanks! |
Commit Details:
Full Hash: e44c49d89d67038657cdcbd373e64b9a17b6c993
Parent Commit: f670a8a
Lines Changed: +191, -48