Commit: d29b076af7ab9075f6a0ca90992e93eab389138d
Author: Lukas Tönne
Date:   Mon Feb 2 14:46:48 2015 +0100
Branches: temp_custom_loop_normals
https://developer.blender.org/rBd29b076af7ab9075f6a0ca90992e93eab389138d

Fix for hair child roughness.

The fixed-function roughness was not getting used once the curve
roughness has been enabled at least once.

===================================================================

M       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 24fba60..33541c3 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 {

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to