Reported on IRC, Wavez:

Objects with negative scale draw TFaces front/back inverted in FaceSelect
mode. Added same solution as 2 releases before for Solid draw mode.
This commit is contained in:
2004-12-02 16:08:49 +00:00
parent 8896a50807
commit 64620dd650

View File

@@ -878,6 +878,9 @@ void draw_tface_mesh(Object *ob, Mesh *me, int dt)
/* first all texture polys */
if(ob->transflag & OB_NEG_SCALE) glFrontFace(GL_CW);
else glFrontFace(GL_CCW);
glCullFace(GL_BACK); glEnable(GL_CULL_FACE);
if(G.vd->drawtype==OB_TEXTURE) istex= 1;
else istex= 0;