Luca Rood b18f83bcf4 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: http://developer.blender.org/D2393
2016-12-04 18:01:46 -02:00
2016-11-02 15:35:18 +01:00
2013-12-24 22:57:27 +06:00
2016-07-15 01:28:00 +10:00
2010-10-13 14:44:22 +00:00
2016-07-15 01:26:26 +10:00
2016-11-16 20:13:58 -07:00
Description
No description provided
841 MiB
Languages
C++ 78%
Python 14.9%
C 2.9%
GLSL 1.9%
CMake 1.2%
Other 0.9%