Orange: fix for duplicator-group using X-Ray or Transparent draw options.

Note that X-ray is skipped, since it can only work for clearing the zbuffer,
but Transparent works now.
This commit is contained in:
2005-12-08 20:07:41 +00:00
parent 459d9607e8
commit ae8c2963e5
2 changed files with 15 additions and 1 deletions

View File

@@ -3495,7 +3495,7 @@ void draw_object(Base *base, int flag)
ob= base->object;
/* xray delay? */
if((flag & DRAW_PICKING)==0) {
if((flag & DRAW_PICKING)==0 && (ob->flag & OB_FROMDUPLI)==0) {
/* xray and transp are set when it is drawing the 2nd/3rd pass */
if(!G.vd->xray && !G.vd->transp && (ob->dtx & OB_DRAWXRAY)) {
add_view3d_after(G.vd, base, V3D_XRAY);