mad logic in tface to mface commit from a while ago. non UV meshes didnt render in textured view.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user