Blender Git Loki

Git Commits -> Revision 436fd56

Revision 436fd56 by Robert Guetzkow (master)
November 25, 2020, 14:18 (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

Reviewed By: mont29

Differential Revision:

Commit Details:

Full Hash: 436fd5663e64979d59cacc12323053f860ce39b0
Parent Commit: 4a179e8
Lines Changed: +20, -3

1 Modified Path:

/source/blender/blenkernel/intern/curve_deform.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