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/bmesh/intern/bmesh_polygon.c
parentc26105278fd770241763e04645dfcf5097e1c5d4 (diff)
Correct some errors in auto-cleanup
Diffstat (limited to 'source/blender/bmesh/intern/bmesh_polygon.c')
-rw-r--r--source/blender/bmesh/intern/bmesh_polygon.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/bmesh/intern/bmesh_polygon.c b/source/blender/bmesh/intern/bmesh_polygon.c
index 06c32d3ead2..1313f7078ec 100644
--- a/source/blender/bmesh/intern/bmesh_polygon.c
+++ b/source/blender/bmesh/intern/bmesh_polygon.c
@@ -78,8 +78,8 @@ static void bm_face_calc_poly_normal(const BMFace *f, float n[3])
{
BMLoop *l_first = BM_FACE_FIRST_LOOP(f);
BMLoop *l_iter = l_first;
- const float const *v_prev = l_first->prev->v->co;
- const float const *v_curr = l_first->v->co;
+ const float *v_prev = l_first->prev->v->co;
+ const float *v_curr = l_first->v->co;
zero_v3(n);
@@ -109,8 +109,8 @@ static void bm_face_calc_poly_normal_vertex_cos(BMFace *f, float r_no[3],
{
BMLoop *l_first = BM_FACE_FIRST_LOOP(f);
BMLoop *l_iter = l_first;
- const float const *v_prev = vertexCos[BM_elem_index_get(l_first->prev->v)];
- const float const *v_curr = vertexCos[BM_elem_index_get(l_first->v)];
+ const float *v_prev = vertexCos[BM_elem_index_get(l_first->prev->v)];
+ const float *v_curr = vertexCos[BM_elem_index_get(l_first->v)];
zero_v3(r_no);