Blender Git Commit Log

Git Commits -> Revision b18f83b

Revision b18f83b by Luca Rood (master)
December 4, 2016, 20:01 (GMT)
Fix T50141: Nabla zero division on texture force field

This sets forces to zero, when Nabla is zero and a grayscale texture is
used or texture mode is Gradient or Curl.

Nabla equal to zero was causing a zero division, and forces ended up
being set to `nan`.

Reviewed By: mont29

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

Commit Details:

Full Hash: b18f83bcf404fee98713fd2eba82570efb53f13e
Parent Commit: dfca1e1
Lines Changed: +4, -1

1 Modified Path:

/source/blender/blenkernel/intern/effect.c (+4, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021