Blender Git Commit Log

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
computed.

Reviewed By: mont29

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

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)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021