diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2015-01-11 23:03:15 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2015-01-11 23:14:39 +0300 |
commit | 7a1dc205607a637e92bb5bac23dfb184472d49cb (patch) | |
tree | 1ce44343361e5cc6f98bc82560370147650a55d7 /source/blender/editors/transform/transform.c | |
parent | 1b3b01135475d0f0edbc39e78fbe5da77b836b67 (diff) |
Cleanup: quite some harmless but noisy warnings from gcc...
Diffstat (limited to 'source/blender/editors/transform/transform.c')
-rw-r--r-- | source/blender/editors/transform/transform.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/editors/transform/transform.c b/source/blender/editors/transform/transform.c index 3aec3d5c975..db3ca0e5465 100644 --- a/source/blender/editors/transform/transform.c +++ b/source/blender/editors/transform/transform.c @@ -5240,6 +5240,8 @@ static BMLoop *get_next_loop(BMVert *v, BMLoop *l, float tvec[3]; float dist; + zero_v3(tvec); + if (bm_loop_calc_opposite_co(l_tmp, tdir, tvec)) { dist = len_v3v3(l_tmp->v->co, tvec); } |