forked from bartvdbraak/blender
Bug fix #2638
More derivedmesh culling confusement... it should be enabled when double- sided shaded lighting is used...
This commit is contained in:
parent
c7b19d5066
commit
dd79f7c8a8
@ -255,7 +255,8 @@ static void meshDM_drawFacesColored(DerivedMesh *dm, int useTwoSide, unsigned ch
|
||||
/* there's a conflict here... twosided colors versus culling...? */
|
||||
/* defined by history, only texture faces have culling option */
|
||||
/* we need that as mesh option builtin, next to double sided lighting */
|
||||
// glEnable(GL_CULL_FACE);
|
||||
if(col1 && col2)
|
||||
glEnable(GL_CULL_FACE);
|
||||
|
||||
glShadeModel(GL_SMOOTH);
|
||||
glBegin(glmode=GL_QUADS);
|
||||
|
Loading…
Reference in New Issue
Block a user