diff options
author | Antony Riakiotakis <kalast@gmail.com> | 2015-06-17 17:29:13 +0300 |
---|---|---|
committer | Antony Riakiotakis <kalast@gmail.com> | 2015-06-17 17:29:31 +0300 |
commit | 42d5df448c65739b6c0efdcf906550ce32ec0c3c (patch) | |
tree | fafd24e81374aadb4979307ab6aa4ac86b4e4bad /source/blender/editors | |
parent | 0119c63405a1fcc66600cc650cec331f27ece712 (diff) |
Cleanup, use define instead of magic number
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/space_view3d/drawmesh.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_view3d/drawmesh.c b/source/blender/editors/space_view3d/drawmesh.c index b374ce64319..96ea5d810bf 100644 --- a/source/blender/editors/space_view3d/drawmesh.c +++ b/source/blender/editors/space_view3d/drawmesh.c @@ -579,7 +579,7 @@ static DMDrawOption draw_tface__set_draw(MTFace *tface, const bool UNUSED(has_mc { Material *ma = give_current_material(Gtexdraw.ob, matnr + 1); - if (ma && (ma->game.flag & GEMAT_INVISIBLE)) return 0; + if (ma && (ma->game.flag & GEMAT_INVISIBLE)) return DM_DRAW_OPTION_SKIP; if (tface || Gtexdraw.is_texpaint) set_draw_settings_cached(0, tface, ma, Gtexdraw); |