From 4bd0a2ba2dadee66d52f9a1101ee918f1327eec4 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 12 Sep 2011 04:14:12 +0000 Subject: replace VECCOPY -> copy_v3_v3, added copy_v*_v*_short too for typesafe copying, some parts of the code are copying float -> short normals without scaling. fix coming next. --- source/blender/modifiers/intern/MOD_weightvgproximity.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/modifiers') diff --git a/source/blender/modifiers/intern/MOD_weightvgproximity.c b/source/blender/modifiers/intern/MOD_weightvgproximity.c index d015a8af4c4..2daa3f797c3 100644 --- a/source/blender/modifiers/intern/MOD_weightvgproximity.c +++ b/source/blender/modifiers/intern/MOD_weightvgproximity.c @@ -116,7 +116,7 @@ static void get_vert2geom_distance(int numVerts, float (*v_cos)[3], float tmp_co[3]; /* Convert the vertex to tree coordinates. */ - VECCOPY(tmp_co, v_cos[i]); + copy_v3_v3(tmp_co, v_cos[i]); space_transform_apply(loc2trgt, tmp_co); /* Use local proximity heuristics (to reduce the nearest search). -- cgit v1.2.3