diff options
author | Lukas Tönne <lukas.toenne@gmail.com> | 2015-01-19 15:32:53 +0300 |
---|---|---|
committer | Lukas Tönne <lukas.toenne@gmail.com> | 2015-01-20 11:30:32 +0300 |
commit | 8ac20d1dee6f0a7f9781a0b1270db5104fce2064 (patch) | |
tree | 265de2045f954898d400c4240bf4fe14c8528e19 /source/blender/makesdna/DNA_particle_types.h | |
parent | 1a918cb66e45d2bfa1ac2153c08f81b09429695a (diff) |
Use separate flags to enable/disable clump and roughness curves for
child hairs.
This allows disabling the curves temporarily without losing the setup.
Conflicts:
source/blender/blenkernel/BKE_blender.h
Diffstat (limited to 'source/blender/makesdna/DNA_particle_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_particle_types.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/source/blender/makesdna/DNA_particle_types.h b/source/blender/makesdna/DNA_particle_types.h index 4f8b14a82b8..04408196b56 100644 --- a/source/blender/makesdna/DNA_particle_types.h +++ b/source/blender/makesdna/DNA_particle_types.h @@ -428,9 +428,11 @@ typedef enum eParticleKink { PART_KINK_SPIRAL = 5, } eParticleKink; -/* part->kink_flag */ +/* part->child_flag */ typedef enum eParticleChildFlag { - PART_CHILD_USE_CLUMP_NOISE = 1, + PART_CHILD_USE_CLUMP_NOISE = (1<<0), + PART_CHILD_USE_CLUMP_CURVE = (1<<1), + PART_CHILD_USE_ROUGH_CURVE = (1<<2), } eParticleChildFlag; /* part->draw_col */ |