diff options
author | Ton Roosendaal <ton@blender.org> | 2005-05-27 01:00:50 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2005-05-27 01:00:50 +0400 |
commit | 53082cf0f150eb9c815027cf316922df11fce352 (patch) | |
tree | 9c8bac40d7b15e7ed78789acbb94a79eea32dc91 /source | |
parent | 8f5baf019b01e614a1db065062b06b354266abdc (diff) |
Bug fix #2575
VertexPaint, FaceSelect draws with 'culled faces' but should therefor
check for negative scaling as well, set the glFrontFace() OK.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/src/drawobject.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/src/drawobject.c b/source/blender/src/drawobject.c index dfb955397b3..6ed33a42ef0 100644 --- a/source/blender/src/drawobject.c +++ b/source/blender/src/drawobject.c @@ -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; |