diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-09-05 08:53:23 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-09-05 08:53:23 +0400 |
commit | 2c740a9b5e07faec543d30c85f16f6bbe6fa0c77 (patch) | |
tree | 49adf14ba7daae087a00991f45dbc32e012b662b /source/blender/makesdna/DNA_modifier_types.h | |
parent | e8346fa84c68005a508b290cf3d255f4004157f1 (diff) |
rename vertex group mix "vgroup, vgroup2" to "vgroup_a, vgroup_b"
also clamp more values between 0.0 and 1.0
Diffstat (limited to 'source/blender/makesdna/DNA_modifier_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_modifier_types.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/source/blender/makesdna/DNA_modifier_types.h b/source/blender/makesdna/DNA_modifier_types.h index d3c3ba2f93b..1714ae2a018 100644 --- a/source/blender/makesdna/DNA_modifier_types.h +++ b/source/blender/makesdna/DNA_modifier_types.h @@ -841,10 +841,10 @@ typedef struct WeightVGMixModifierData { /* XXX Note: I tried to keep everything logically ordered – provided the * alignment constraints... */ - char defgrp_name[32]; /* Name of vertex group to modify/weight. */ - char defgrp_name2[32]; /* Name of other vertex group to mix in. */ - float default_weight; /* Default weight value for first vgroup. */ - float default_weight2; /* Default weight value to mix in. */ + char defgrp_name_a[32]; /* Name of vertex group to modify/weight. */ + char defgrp_name_b[32]; /* Name of other vertex group to mix in. */ + float default_weight_a; /* Default weight value for first vgroup. */ + float default_weight_b; /* Default weight value to mix in. */ char mix_mode; /* How second vgroups weights affect first ones */ char mix_set; /* What vertices to affect. */ @@ -876,10 +876,10 @@ typedef struct WeightVGMixModifierData { /* What vertices to affect. */ #define MOD_WVG_SET_ALL 1 /* Affect all vertices. */ -#define MOD_WVG_SET_ORG 2 /* Affect only vertices in first vgroup. */ -#define MOD_WVG_SET_NEW 3 /* Affect only vertices in second vgroup. */ -#define MOD_WVG_SET_UNION 4 /* Affect only vertices in one vgroup or the other. */ -#define MOD_WVG_SET_INTER 5 /* Affect only vertices in both vgroups. */ +#define MOD_WVG_SET_A 2 /* Affect only vertices in first vgroup. */ +#define MOD_WVG_SET_B 3 /* Affect only vertices in second vgroup. */ +#define MOD_WVG_SET_OR 4 /* Affect only vertices in one vgroup or the other. */ +#define MOD_WVG_SET_AND 5 /* Affect only vertices in both vgroups. */ typedef struct WeightVGProximityModifierData { ModifierData modifier; |