Fix [#29265] Particle Instance: Create Along Paths + Children inconsistent with actua...
authorJanne Karhu <jhkarh@gmail.com>
Sun, 12 Feb 2012 00:25:52 +0000 (00:25 +0000)
committerJanne Karhu <jhkarh@gmail.com>
Sun, 12 Feb 2012 00:25:52 +0000 (00:25 +0000)
commita7458742b1f87c918fad6e7f0081e5d2b2e94125
treec60197638edd28fd2d135a4e86a7617a357fdba8
parent0327b9a0cf9cac49936a09a9fc943be5e5337813
Fix [#29265] Particle Instance: Create Along Paths + Children inconsistent with actual children hair particles
* Hair particle rotations weren't calculated properly for particle locations along a path and the "particle on path" calculations were not correct in many other ways too.
* Now the particle's location along a path is interpolated directly from the cached paths if it exist. These paths are always correctly calculated.
* Paths are now cached if a particle instance modifier using the particle system with the path option exists.
source/blender/blenkernel/intern/particle.c
source/blender/blenkernel/intern/particle_system.c