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:
authorGuillermo S. Romero <gsr.b3d@infernal-iceberg.com>2010-12-31 23:01:38 +0300
committerGuillermo S. Romero <gsr.b3d@infernal-iceberg.com>2010-12-31 23:01:38 +0300
commitc169ccc711edc182d4983f59c1124aee91e7acd5 (patch)
tree7bcba51b81366d24dc67d5c90533b74c6d8ecf0e /source/blender/blenkernel/intern/customdata.c
parent91f0e13686a6f394bc85a7025dab5435a134d2f6 (diff)
Silence more compiler warnings.
Diffstat (limited to 'source/blender/blenkernel/intern/customdata.c')
-rw-r--r--source/blender/blenkernel/intern/customdata.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/customdata.c b/source/blender/blenkernel/intern/customdata.c
index e178beaaa50..03d31549214 100644
--- a/source/blender/blenkernel/intern/customdata.c
+++ b/source/blender/blenkernel/intern/customdata.c
@@ -611,7 +611,7 @@ static int mdisp_rot_face_to_crn(int corners, int face_side, float u, float v, f
static void mdisp_apply_weight(int S, int corners, int x, int y, int face_side,
float crn_weight[4][2], float *u_r, float *v_r)
{
- float u, v, xl, yl;
+ float u = 0.f, v = 0.f, xl, yl;
float mid1[2], mid2[2], mid3[2];
mdisp_rot_crn_to_face(S, corners, face_side, x, y, &u, &v);