diff options
author | Christian Friedrich <rbx775> | 2020-12-02 12:35:04 +0300 |
---|---|---|
committer | Bastien Montagne <bastien@blender.org> | 2020-12-02 13:20:03 +0300 |
commit | e4204a3979c4ffba0f90dac1ba6a2cc72fde96c3 (patch) | |
tree | 4a49f91ddbab450fc48a3e9db78614531511a3c4 /source/blender/makesdna/DNA_modifier_types.h | |
parent | 84451f89f5c1ca84a3647da6906f95f6fe9f6c1f (diff) |
Add Custom Falloff Curve to the Vertex Weight Proximity Modifier.
The Vertex Weight Edit Modifier already got the Custom Curve, there was no
real reason for the proximity not to have it as well.
With some fixes by Bastien Montagne (@mont29).
Reviewed By: mont29
Differential Revision: https://developer.blender.org/D9594
Diffstat (limited to 'source/blender/makesdna/DNA_modifier_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_modifier_types.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_modifier_types.h b/source/blender/makesdna/DNA_modifier_types.h index 232fca062fa..7b5bdac47f5 100644 --- a/source/blender/makesdna/DNA_modifier_types.h +++ b/source/blender/makesdna/DNA_modifier_types.h @@ -1583,6 +1583,10 @@ typedef struct WeightVGProximityModifierData { /** Name of vertex group to modify/weight. MAX_VGROUP_NAME. */ char defgrp_name[64]; + + /* Mapping stuff. */ + /** The custom mapping curve!. */ + struct CurveMapping *cmap_curve; /* Proximity modes. */ int proximity_mode; |