diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-04-04 03:40:24 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-04-04 03:40:24 +0400 |
commit | 320aa33e653b5ea74719cf0a1525bffad307be53 (patch) | |
tree | 9163351ee04ce60f5988acd367d1841a61c1307a /source/blender/editors/space_view3d/drawmesh.c | |
parent | ff14479983f0606678a9242f869f6b0fc5a78f99 (diff) |
rename MPoly vars called mface or mf, to avoid confusion with MFace types.
Diffstat (limited to 'source/blender/editors/space_view3d/drawmesh.c')
-rw-r--r-- | source/blender/editors/space_view3d/drawmesh.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/space_view3d/drawmesh.c b/source/blender/editors/space_view3d/drawmesh.c index 39f1552c8a6..e808a66bc24 100644 --- a/source/blender/editors/space_view3d/drawmesh.c +++ b/source/blender/editors/space_view3d/drawmesh.c @@ -172,8 +172,8 @@ static DMDrawOption draw_mesh_face_select__drawFaceOptsInv(void *userData, int i { Mesh *me = (Mesh *)userData; - MPoly *mface = &me->mpoly[index]; - if (!(mface->flag & ME_HIDE) && !(mface->flag & ME_FACE_SEL)) + MPoly *mpoly = &me->mpoly[index]; + if (!(mpoly->flag & ME_HIDE) && !(mpoly->flag & ME_FACE_SEL)) return DM_DRAW_OPTION_NO_MCOL; /* Don't set color */ else return DM_DRAW_OPTION_SKIP; |