Commit: 0d71bffe18b03c503fe98cdf90662857cf1240df
Author: Lukas Tönne
Date:   Thu May 24 06:57:54 2018 +0100
Branches: hair_guides_grooming
https://developer.blender.org/rB0d71bffe18b03c503fe98cdf90662857cf1240df

Update follicle binding after changing groom hairs.

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

M       source/blender/blenkernel/intern/groom.c

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

diff --git a/source/blender/blenkernel/intern/groom.c 
b/source/blender/blenkernel/intern/groom.c
index 11c86b1c458..cb08ce783c9 100644
--- a/source/blender/blenkernel/intern/groom.c
+++ b/source/blender/blenkernel/intern/groom.c
@@ -574,6 +574,8 @@ void BKE_groom_hair_distribute(Groom *groom, unsigned int 
seed, int hair_count,
        
        unsigned int guide_seed = BLI_ghashutil_combine_hash(seed, 
BLI_ghashutil_strhash("groom guide curves"));
        groom_generate_guide_curves(groom, scalp, guide_seed, 
guide_curve_count);
+       
+       BKE_hair_bind_follicles(hsys, scalp);
 }
 
 void BKE_groom_hair_update_guide_curves(Groom *groom)

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

Reply via email to