Blender Git Commit Log

Git Commits -> Revision 9921e10

Revision 9921e10 by Sergey Sharybin (master)
June 22, 2018, 10:08 (GMT)
Math: Set matrix to zero when inversion fails

Avoids usage of uninitialized memory when inversion fails.

That uninitialized memory can cause object to become visible when
it is supposed not to or other artifacts like that.

Longer term solution would be to check every instance of invert_m#
function and to explicit fallback when needed (possibly, using
extra utility functions).

Commit Details:

Full Hash: 9921e10583d7a6ef735ecc069b2b78f97ca9c226
Parent Commit: f3501a0
Lines Changed: +3, -0

1 Modified Path:

/intern/eigen/intern/matrix.cc (+3, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021