forked from bartvdbraak/blender
Fix for bug #16662: modifiers on lattices were ignored sometimes
when rendering opengl previews, it unnecessarily cleared lattice displists when it was really intended for shaded mode colors.
This commit is contained in:
parent
4693a5af48
commit
650ae3b4e6
@ -757,7 +757,10 @@ void reshadeall_displist(void)
|
||||
|
||||
for(base= G.scene->base.first; base; base= base->next) {
|
||||
ob= base->object;
|
||||
freedisplist(&ob->disp);
|
||||
|
||||
if(ELEM5(ob->type, OB_MESH, OB_CURVE, OB_SURF, OB_FONT, OB_MBALL))
|
||||
freedisplist(&ob->disp);
|
||||
|
||||
if(base->lay & G.scene->lay) {
|
||||
/* Metaballs have standard displist at the Object */
|
||||
if(ob->type==OB_MBALL) shadeDispList(base);
|
||||
|
Loading…
Reference in New Issue
Block a user