From c174f5682c97b3885c8cbe851d3984798c6fdf49 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 29 Dec 2011 04:04:27 +0000 Subject: syncing modifiers with trunk - only small changes --- source/blender/modifiers/intern/MOD_displace.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'source/blender/modifiers/intern/MOD_displace.c') 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; -- cgit v1.2.3