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:
authorCampbell Barton <ideasman42@gmail.com>2014-04-27 16:02:25 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-04-27 16:02:59 +0400
commitd7d2e71a037ca986fda9ba6f6d057a2d24ace4e0 (patch)
tree6aea992ce79001c7957442097025e245f4a01b49 /source/blender/blenkernel/intern/mesh_evaluate.c
parentc26105278fd770241763e04645dfcf5097e1c5d4 (diff)
Correct some errors in auto-cleanup
Diffstat (limited to 'source/blender/blenkernel/intern/mesh_evaluate.c')
-rw-r--r--source/blender/blenkernel/intern/mesh_evaluate.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/source/blender/blenkernel/intern/mesh_evaluate.c b/source/blender/blenkernel/intern/mesh_evaluate.c
index b272749a4bb..74e380c7d50 100644
--- a/source/blender/blenkernel/intern/mesh_evaluate.c
+++ b/source/blender/blenkernel/intern/mesh_evaluate.c
@@ -172,8 +172,8 @@ static void mesh_calc_normals_poly_accum(MPoly *mp, MLoop *ml,
/* inline version of #BKE_mesh_calc_poly_normal, also does edge-vectors */
{
int i_prev = nverts - 1;
- const float const *v_prev = mvert[ml[i_prev].v].co;
- const float const *v_curr;
+ const float *v_prev = mvert[ml[i_prev].v].co;
+ const float *v_curr;
zero_v3(polyno);
/* Newell's Method */
@@ -738,8 +738,8 @@ static void mesh_calc_ngon_normal(MPoly *mpoly, MLoop *loopstart,
MVert *mvert, float normal[3])
{
const int nverts = mpoly->totloop;
- const float const *v_prev = mvert[loopstart[nverts - 1].v].co;
- const float const *v_curr;
+ const float *v_prev = mvert[loopstart[nverts - 1].v].co;
+ const float *v_curr;
int i;
zero_v3(normal);
@@ -788,8 +788,8 @@ static void mesh_calc_ngon_normal_coords(MPoly *mpoly, MLoop *loopstart,
const float (*vertex_coords)[3], float normal[3])
{
const int nverts = mpoly->totloop;
- const float const *v_prev = vertex_coords[loopstart[nverts - 1].v];
- const float const *v_curr;
+ const float *v_prev = vertex_coords[loopstart[nverts - 1].v];
+ const float *v_curr;
int i;
zero_v3(normal);