Fix for [#20458] Segmentation fault when trying to enable Hair dynamics
authorJanne Karhu <jhkarh@gmail.com>
Fri, 25 Dec 2009 23:51:29 +0000 (23:51 +0000)
committerJanne Karhu <jhkarh@gmail.com>
Fri, 25 Dec 2009 23:51:29 +0000 (23:51 +0000)
commitfc066a6a5d01718981c9dcae23c5f4f47f3d7b1e
tree239042728e0a5f846ce95a967824aa1bc6288cb8
parent99e3423a500d59e3493c4e8db8665c97aa02e110
Fix for [#20458] Segmentation fault when trying to enable Hair dynamics
* The hair mesh vertex index was stored as a short, but vertex counts can easily go higher than what fits in a short so changed this to an int.
* Also removed particle life looping, which didn't work correctly anyways. Similar functionality will become available when I get to recoding reactor particles into a better system.
source/blender/blenkernel/intern/particle.c
source/blender/blenkernel/intern/particle_system.c
source/blender/makesdna/DNA_particle_types.h
source/blender/makesrna/intern/rna_particle.c