diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2016-04-30 17:51:06 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2016-04-30 17:56:19 +0300 |
commit | abf6f9f6cf72e7ce0bb5feb9af328fc350e3d700 (patch) | |
tree | af4ae9a8f8fb739f1ebfbbb90c4c8026c36e07ca /intern/cycles/blender/blender_shader.cpp | |
parent | b1f6cd5a6a2747f8ecac7ef844efffd7bbec6736 (diff) |
Fix T48118: Vertex Groups not masking particle hair emission correctly
Own regression from rB019ce363b01bba0af, not totally sure why removing the heading
zero value in element_sum broke binary search distribution in random branch, but...
New code makes thing sooo much simpler, by simply getting rid of all zero-weight
items in element_sum (at the cost of adding a temporary extra index mapping array),
that way neither random nor 'even ordered' distribution code has to wory anymore
about skipping zero-weighted items!
Diffstat (limited to 'intern/cycles/blender/blender_shader.cpp')
0 files changed, 0 insertions, 0 deletions