forked from bartvdbraak/blender
Fix T39524: Backface culling is always on in Textured view in BI.
Special case I did not think about in own previous culling fix (rB0f95149a7849).
This commit is contained in:
parent
c682fe49f4
commit
f1186cb113
@ -255,9 +255,9 @@ static bool set_draw_settings_cached(int clearcache, MTFace *texface, Material *
|
||||
/* convert number of lights into boolean */
|
||||
if (gtexdraw.is_lit) lit = 1;
|
||||
|
||||
backculled = gtexdraw.use_backface_culling;
|
||||
if (ma) {
|
||||
if (ma->mode & MA_SHLESS) lit = 0;
|
||||
backculled = gtexdraw.use_backface_culling;
|
||||
if (gtexdraw.use_game_mat) {
|
||||
backculled = backculled || (ma->game.flag & GEMAT_BACKCULL);
|
||||
alphablend = ma->game.alpha_blend;
|
||||
|
Loading…
Reference in New Issue
Block a user