Shaded drawmode, objects with negative scale, did not draw correct.
Error already since 2.37 (commit of may 2005)
This commit is contained in:
Ton Roosendaal 2007-01-23 10:03:45 +00:00
parent 43b390c936
commit 39d1d30350

@ -1991,6 +1991,9 @@ static void draw_mesh_fancy(Base *base, int dt, int flag)
totedge = me->totedge;
totface = me->totface;
#endif
/* vertexpaint, faceselect wants this, but it doesnt work for shaded? */
if(dt!=OB_SHADED)
glFrontFace((ob->transflag&OB_NEG_SCALE)?GL_CW:GL_CCW);
// Unwanted combination.