From 61a4188e1d61a9855896c77fa45cf8e2dcd3fa06 Mon Sep 17 00:00:00 2001 From: Janne Karhu Date: Thu, 17 Jan 2008 10:44:23 +0000 Subject: [PATCH] - A miss thought multiplication in hair effectors created a strong dependency on the draw/render steps value, now behavior is much better although a stronger effector force is needed for the effect to show. --- source/blender/blenkernel/intern/particle.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/blender/blenkernel/intern/particle.c b/source/blender/blenkernel/intern/particle.c index 8b6d6126124..9a429b0be6e 100644 --- a/source/blender/blenkernel/intern/particle.c +++ b/source/blender/blenkernel/intern/particle.c @@ -2446,7 +2446,7 @@ void psys_cache_paths(Object *ob, ParticleSystem *psys, float cfra, int editupda do_effectors(i, pa, &eff_key, ob, psys, force, vel, dfra, cfra); - VecMulf(force, pow((float)k / (float)steps, 100.0f * psys->part->eff_hair) * steps); + VecMulf(force, pow((float)k / (float)steps, 100.0f * psys->part->eff_hair) / (float)steps); VecAddf(force, force, vec);