Silly 2.36 bug! In FaceSelect mode, other solid objects didn't show. Bad!

Additional; when using Halo material, and setting 'X Alpha', and disabling
Halo option, the 'Only Shadow' option turned on... uses same bit...
No time for real fix here, so for now the bit is always cleared after
disabling Halo.
This commit is contained in:
2005-03-15 12:30:58 +00:00
parent 9efe92bbaa
commit e9381e61aa
2 changed files with 6 additions and 3 deletions

View File

@@ -1856,7 +1856,7 @@ static void drawmeshsolid(Object *ob, float *nors)
dl= find_displist(&ob->disp, DL_VERTS);
if(dl) extverts= dl->verts;
glBegin(GL_QUADS);
glmode= GL_QUADS;
@@ -4369,7 +4369,7 @@ void draw_object(Base *base)
else if(dt==OB_BOUNDBOX) draw_bounding_volume(ob);
else if(dt==OB_WIRE || me->totface==0) drawmeshwire(ob);
else if(ma && (ma->mode & MA_HALO)) drawmeshwire(ob);
else if(G.f & G_FACESELECT || (G.vd->drawtype==OB_TEXTURE && dt>OB_SOLID)) {
else if( (ob==OBACT && (G.f & G_FACESELECT)) || (G.vd->drawtype==OB_TEXTURE && dt>OB_SOLID)) {
draw_tface_mesh(ob, ob->data, dt);
}
else drawDispList(ob, dt);