diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-10-22 03:35:08 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-10-22 03:35:08 +0400 |
commit | 7c8c49a34a32bdd67e9da27d4b5166f59d45ed70 (patch) | |
tree | 8c4a250bc4947d8a13f4e4692324548bc57bc0cf /source/blender/blenkernel/intern/editderivedmesh.c | |
parent | 4b0ff02aebc82e15d83c57c4e7b46c9b2c664672 (diff) |
style cleanup
Diffstat (limited to 'source/blender/blenkernel/intern/editderivedmesh.c')
-rw-r--r-- | source/blender/blenkernel/intern/editderivedmesh.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenkernel/intern/editderivedmesh.c b/source/blender/blenkernel/intern/editderivedmesh.c index f71bc83f5d3..6dd0efc9ab4 100644 --- a/source/blender/blenkernel/intern/editderivedmesh.c +++ b/source/blender/blenkernel/intern/editderivedmesh.c @@ -902,7 +902,7 @@ static void emdm_pass_attrib_vertex_glsl(DMVertexAttribs *attribs, BMLoop *loop, for (i = 0; i < attribs->tottface; i++) { const float *uv; - if(attribs->tface[i].em_offset != -1) { + if (attribs->tface[i].em_offset != -1) { const MLoopUV *luv = BM_ELEM_CD_GET_VOID_P(loop, attribs->tface[i].em_offset); uv = luv->uv; } @@ -917,7 +917,7 @@ static void emdm_pass_attrib_vertex_glsl(DMVertexAttribs *attribs, BMLoop *loop, } for (i = 0; i < attribs->totmcol; i++) { GLubyte col[4]; - if(attribs->mcol[i].em_offset != -1) { + if (attribs->mcol[i].em_offset != -1) { const MLoopCol *cp = BM_ELEM_CD_GET_VOID_P(loop, attribs->mcol[i].em_offset); col[0] = cp->b; col[1] = cp->g; col[2] = cp->r; col[3] = cp->a; } |