Blender Git Loki
Git Commits -> Revision 5be3403
November 25, 2017, 13:46 (GMT) |
Simplified API for generating hair follicles with a fixed max count. The final count is inversely proportional to the min_distance, so using that as a user variable is difficult to control. Instead we just use the overall count as the single variable now. The actual final count will be less than this maximum count, because the theoretical limit is never reached in practice. The min. distance could also be stored as a result of the hair generation as feedback for the user. |
Commit Details:
Full Hash: 5be3403a1d82b51078a122ea54234a1eaed2001d
Parent Commit: 08b8b44
Lines Changed: +22, -34
8 Modified Paths:
/release/scripts/startup/bl_ui/properties_data_modifier.py (+1, -2) (Diff)
/source/blender/blenkernel/BKE_hair.h (+1, -2) (Diff)
/source/blender/blenkernel/intern/hair.c (+6, -7) (Diff)
/source/blender/editors/object/object_modifier.c (+2, -3) (Diff)
/source/blender/makesdna/DNA_modifier_types.h (+2, -2) (Diff)
/source/blender/makesrna/intern/rna_hair.c (+3, -5) (Diff)
/source/blender/makesrna/intern/rna_modifier.c (+5, -11) (Diff)
/source/blender/modifiers/intern/MOD_fur.c (+2, -2) (Diff)
/source/blender/blenkernel/BKE_hair.h (+1, -2) (Diff)
/source/blender/blenkernel/intern/hair.c (+6, -7) (Diff)
/source/blender/editors/object/object_modifier.c (+2, -3) (Diff)
/source/blender/makesdna/DNA_modifier_types.h (+2, -2) (Diff)
/source/blender/makesrna/intern/rna_hair.c (+3, -5) (Diff)
/source/blender/makesrna/intern/rna_modifier.c (+5, -11) (Diff)
/source/blender/modifiers/intern/MOD_fur.c (+2, -2) (Diff)