Blender Git Commit Log
Git Commits -> Revision 45f833c
Revision 45f833c by Bastien Montagne (master) September 8, 2016, 08:24 (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: 45f833c21dcfad4d1d7045987bb8b69d6aab05be
Parent Commit: a2e8b7e
Lines Changed: +6, -0
1 Modified Path:
/source/blender/blenkernel/intern/particle.c (+6, -0) (Diff)