texture forcefields had a bug where uninitialized values could be used.
authorCampbell Barton <ideasman42@gmail.com>
Sun, 17 Feb 2008 23:53:48 +0000 (23:53 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Sun, 17 Feb 2008 23:53:48 +0000 (23:53 +0000)
commit0fe6abbfa3d8d089ec8397b7a8166cd41eada612
tree404c165e73de8f7179acd2b11fad05bd74c176b3
parenta207d149585fab1c25b8215d8d5ba1d1c31eee35
texture forcefields had a bug where uninitialized values could be used.
do_texture_effector assumed multitex_ext would assign r/g/b colors which isnt true for grey textures.
Fallback to PFIELD_TEX_GRAD with grey textures, node this in tooltip also.
source/blender/blenkernel/intern/particle_system.c
source/blender/render/intern/source/texture.c
source/blender/src/buttons_object.c