diff options
author | Campbell Barton <ideasman42@gmail.com> | 2007-05-05 18:48:45 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2007-05-05 18:48:45 +0400 |
commit | 678825db5e2269c36a396f142043d62cd0f9ec4e (patch) | |
tree | 785b018e73d8c7415e98107cdd8e69e80459008f /source/blender/src | |
parent | 03040b54b3e46a5e8475001b6d42df7489eb4664 (diff) |
mad logic in tface to mface commit from a while ago. non UV meshes didnt render in textured view.
Diffstat (limited to 'source/blender/src')
-rw-r--r-- | source/blender/src/drawmesh.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/drawmesh.c b/source/blender/src/drawmesh.c index 53a537e92b0..d558a001f2e 100644 --- a/source/blender/src/drawmesh.c +++ b/source/blender/src/drawmesh.c @@ -936,7 +936,7 @@ static unsigned char g_draw_tface_mesh_obcol[4]; static int draw_tface__set_draw(MTFace *tface, MCol *mcol, int matnr) { - if (!tface || (tface->mode&TF_INVISIBLE)) return 0; + if (tface && (tface->mode&TF_INVISIBLE)) return 0; if (tface && set_draw_settings_cached(0, g_draw_tface_mesh_istex, tface, g_draw_tface_mesh_islight, g_draw_tface_mesh_ob, matnr, TF_TWOSIDE)) { glColor3ub(0xFF, 0x00, 0xFF); |