Blender Git Commit Log

Git Commits -> Revision abf6f9f

Revision abf6f9f by Bastien Montagne (master)
April 30, 2016, 14:56 (GMT)
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!

Commit Details:

Full Hash: abf6f9f6cf72e7ce0bb5feb9af328fc350e3d700
Parent Commit: b1f6cd5
Lines Changed: +61, -39

1 Modified Path:

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