Blender Git Loki

Git Commits -> Revision faec666

September 14, 2016, 08:26 (GMT)
Fix T49283: Crash in BKE_ptcache_make_particle_key.

This is really hack-fix actually, not sure why `get_pointcache_keys_for_time()` seems to assume
it will always find key for given part index at least for current frame, and whether this assumption
is wrong or whether bug happens elsewhere...

Anyway, this is to be wiped out in 2.8, so no point loosing too much time on it, for now merely
returning unchanged (i.e. zero'ed) ParticleKeys in case index2 is invalid. Won't hurt anyway,
even if this did not crash in release builds, would be returning giberish values.

Commit Details:

Full Hash: faec666bbea46e5a5e2ae0568ff5c6aea17696a0
Parent Commit: 320d601
Committed By: Sergey Sharybin
Lines Changed: +6, -0

1 Modified Path:

/source/blender/blenkernel/intern/particle.c (+6, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021