Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Montagne <montagne29@wanadoo.fr>2011-08-09 01:12:51 +0400
committerBastien Montagne <montagne29@wanadoo.fr>2011-08-09 01:12:51 +0400
commite2c24bac6c56df6a54c37233d43f609f86d868d5 (patch)
treed38015c0a40f4352d181e32b023c310b759d2c2d /source/blender/makesdna/DNA_modifier_types.h
parentce20487fa79bb5b7e112bcdaca5a25ba8fbcfec2 (diff)
vgroup_modifiers: Now clamping output values to [0.0, 1.0] range (and added min/max mapping values for Prowimity modif).
Diffstat (limited to 'source/blender/makesdna/DNA_modifier_types.h')
-rw-r--r--source/blender/makesdna/DNA_modifier_types.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_modifier_types.h b/source/blender/makesdna/DNA_modifier_types.h
index a693277b786..7f43659d8de 100644
--- a/source/blender/makesdna/DNA_modifier_types.h
+++ b/source/blender/makesdna/DNA_modifier_types.h
@@ -921,6 +921,8 @@ typedef struct WeightVGProximityModifierData {
int mask_tex_mapping; /* How to map the texture! */
char mask_tex_uvlayer_name[32]; /* Name of the UV layer. */
+ float min_dist, max_dist; /* Distances mapping to 0.0/1.0 weights. */
+
/* Padding… */
int pad_i2;
} WeightVGProximityModifierData;