Blender Git Loki

Git Commits -> Revision 640fc26

Revision 640fc26 by Lukas Toenne (master)
September 27, 2013, 13:45 (GMT)
Fix #36630, Particlesystem - boids - goal - collision.
Problem was introduced with r54648, which determined the initial interval for the Newton-Raphson method using the "total_time" of the collision - but this info is only defined for regular collisions, not
for the raycasting used in boids to find the "ground object". To ensure correct behavior, now clear the collision info before using it (good practice in any case), then check the inv_total_time variable
and use the standard 0.001 step if not defined.

Commit Details:

Full Hash: 640fc26c030bc05175a2e6cec0e6fa3634065d4e
SVN Revision: 60392
Parent Commit: 9aaeaae
Lines Changed: +12, -3

2 Modified Paths:

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