Blender Git Commit Log

Git Commits -> Revision 61b49de

Revision 61b49de by Bastien Montagne (master)
June 20, 2016, 09:12 (GMT)
Fix once more time particle distribution.

rB046adde64f16 was actually pretty useless (and broken), since issue ends up not being
in binary search code, but in generation of the 'summed weights' array used to distribute
particles over mesh items - looks like very small weights could lead to null accumulated
weights, wich was breaking binary search.

Fixed simply by adding a minimal, non-zero weight for mesh items to be allowed to emit particles.

Hopefully we are done with this distribution mess!

Commit Details:

Full Hash: 61b49de449404ecb51902113e7b568ed49f9c3aa
Parent Commit: 2e553f7
Lines Changed: +14, -9

1 Modified Path:

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