Blender Git Loki

Git Commits -> Revision c3c3807

December 2, 2020, 07:40 (GMT)
Fix T82988: Div by zero with curve deform modifier

In `calc_curve_deform` a factor is calculated without checking if
the divisior is zero or close to zero. This patch adds the missing
checks and sets the factor to zero if the division shouldn't be
computed.

Reviewed By: mont29

Differential Revision: https://developer.blender.org/D9645

Commit Details:

Full Hash: c3c3807b059ddfc87a9fbc2575f4d821ddc0a248
Parent Commit: a08a08c
Committed By: Jeroen Bakker
Lines Changed: +20, -3

1 Modified Path:

/source/blender/blenkernel/intern/lattice.c (+20, -3) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021