Blender Git Commit Log

Git Commits -> Revision e32bbef

Revision e32bbef by Janne Karhu (master)
January 9, 2011, 07:41 (GMT)
Fix for [#25544] Blender crashes when changing the particles emission amount
* I've getting bad feelings about the point cache index_array for a while (cause for this bug too), so from now on memory cache uses a simple binary search directly on the index data to handle queries to specific data points.
* This is a bit slower than just checking from a dedicated array, but it's much less error prone, uses less memory and makes the code more readable too, so it's not a tough choice.

Commit Details:

Full Hash: e32bbef017df64a99acedd4f3f4ba32713c50a3b
SVN Revision: 34186
Parent Commit: 76a762a
Lines Changed: +53, -91

7 Modified Paths:

/source/blender/blenkernel/BKE_pointcache.h (+4, -1) (Diff)
/source/blender/blenkernel/intern/particle.c (+12, -26) (Diff)
/source/blender/blenkernel/intern/pointcache.c (+35, -30) (Diff)
/source/blender/blenloader/intern/readfile.c (+0, -9) (Diff)
/source/blender/blenloader/intern/writefile.c (+0, -2) (Diff)
/source/blender/editors/physics/particle_edit.c (+2, -22) (Diff)
/source/blender/makesdna/DNA_object_force.h (+0, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021