diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-03-26 04:42:21 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-03-26 04:42:21 +0400 |
commit | 94b8b8913e0283850cd2f05361a8980ecbe4870c (patch) | |
tree | 981cad884ee4958e60ed2436db1d5a32473e1dd9 /source/blender/modifiers/intern/MOD_lattice.c | |
parent | df4a8a4dab9536cb153fedd0c12fa3e8dc16f7b1 (diff) |
rename lattice influence to strength from r45144 (other deform modifiers call it strength too)
Diffstat (limited to 'source/blender/modifiers/intern/MOD_lattice.c')
-rw-r--r-- | source/blender/modifiers/intern/MOD_lattice.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/modifiers/intern/MOD_lattice.c b/source/blender/modifiers/intern/MOD_lattice.c index 5732fee7826..ca700d4d8f2 100644 --- a/source/blender/modifiers/intern/MOD_lattice.c +++ b/source/blender/modifiers/intern/MOD_lattice.c @@ -51,7 +51,7 @@ static void initData(ModifierData *md) { LatticeModifierData *lmd = (LatticeModifierData*) md; - lmd->influence = 1.0f; + lmd->strength = 1.0f; } static void copyData(ModifierData *md, ModifierData *target) @@ -119,7 +119,7 @@ static void deformVerts(ModifierData *md, Object *ob, modifier_vgroup_cache(md, vertexCos); /* if next modifier needs original vertices */ lattice_deform_verts(lmd->object, ob, derivedData, - vertexCos, numVerts, lmd->name, lmd->influence); + vertexCos, numVerts, lmd->name, lmd->strength); } static void deformVertsEM( |