diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-12-29 08:04:27 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-12-29 08:04:27 +0400 |
commit | c174f5682c97b3885c8cbe851d3984798c6fdf49 (patch) | |
tree | cb75e1184a609d0da8100fa841b0db3cab67cc17 /source/blender/modifiers/intern/MOD_displace.c | |
parent | c4d9f9e9cfd89bfa9b26df45853f9848b87db78c (diff) |
syncing modifiers with trunk - only small changes
Diffstat (limited to 'source/blender/modifiers/intern/MOD_displace.c')
-rw-r--r-- | source/blender/modifiers/intern/MOD_displace.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/modifiers/intern/MOD_displace.c b/source/blender/modifiers/intern/MOD_displace.c index 7a23dd45dd6..38a0e2baa34 100644 --- a/source/blender/modifiers/intern/MOD_displace.c +++ b/source/blender/modifiers/intern/MOD_displace.c @@ -188,8 +188,7 @@ static void displaceModifier_do( tex_co = MEM_callocN(sizeof(*tex_co) * numVerts, "displaceModifier_do tex_co"); get_texture_coords((MappingInfoModifierData *)dmd, ob, dm, vertexCos, tex_co, numVerts); - - + for(i = 0; i < numVerts; ++i) { TexResult texres; float delta = 0, strength = dmd->strength; |