VertexPaint, FaceSelect draws with 'culled faces' but should therefor
check for negative scaling as well, set the glFrontFace() OK.
This commit is contained in:
2005-05-26 21:00:50 +00:00
parent 8f5baf019b
commit 53082cf0f1

View File

@@ -1736,6 +1736,8 @@ static void draw_mesh_fancy(Object *ob, DerivedMesh *baseDM, DerivedMesh *realDM
float *obExtVerts;
DerivedMesh *dm = realDM?realDM:baseDM;
glFrontFace((ob->transflag&OB_NEG_SCALE)?GL_CW:GL_CCW);
dl = find_displist(&ob->disp, DL_VERTS);
obExtVerts = dl?dl->verts:NULL;