diff options
author | Robert Guetzkow <gitcommit@outlook.de> | 2020-11-25 16:26:53 +0300 |
---|---|---|
committer | Jeroen Bakker <jeroen@blender.org> | 2020-12-02 10:40:49 +0300 |
commit | c3c3807b059ddfc87a9fbc2575f4d821ddc0a248 (patch) | |
tree | 5acddbe55aaf3388a3ad1529b863bbf622a8b375 /source/blender/blenkernel/BKE_blender_version.h | |
parent | a08a08cb4c26627c05ad6089030223e8313a0073 (diff) |
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
Diffstat (limited to 'source/blender/blenkernel/BKE_blender_version.h')
0 files changed, 0 insertions, 0 deletions