From 2c82e748c1eaa25a8a5202c8360d8073d4a81c6f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lukas=20T=C3=B6nne?= Date: Mon, 2 Feb 2015 14:46:48 +0100 Subject: Fix for hair child roughness. The fixed-function roughness was not getting used once the curve roughness has been enabled at least once. --- source/blender/blenkernel/intern/particle_child.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/blenkernel/intern/particle_child.c') diff --git a/source/blender/blenkernel/intern/particle_child.c b/source/blender/blenkernel/intern/particle_child.c index 24fba604d1e..33541c3a7fd 100644 --- a/source/blender/blenkernel/intern/particle_child.c +++ b/source/blender/blenkernel/intern/particle_child.c @@ -704,7 +704,7 @@ void do_child_modifiers(ParticleSimulationData *sim, ParticleTexture *ptex, cons } } - if (part->roughcurve) { + if (roughcurve) { do_rough_curve(orco, mat, t, rough1, part->rough1_size, roughcurve, state); } else { -- cgit v1.2.3