diff options
author | Janne Karhu <jhkarh@gmail.com> | 2008-04-03 03:12:05 +0400 |
---|---|---|
committer | Janne Karhu <jhkarh@gmail.com> | 2008-04-03 03:12:05 +0400 |
commit | 78b250f69318f9ff7d6a8276117528986993bde7 (patch) | |
tree | 272775c7980c04864f8f9c20c940688336e51fe8 /source/blender/src/drawobject.c | |
parent | 5dbe42af07ac8a1889bdded10a07d0914a78e8e2 (diff) |
Fix for bug: [#8576] Heir always in the back
Diffstat (limited to 'source/blender/src/drawobject.c')
-rw-r--r-- | source/blender/src/drawobject.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/source/blender/src/drawobject.c b/source/blender/src/drawobject.c index 90666c7c2ba..243602d01ab 100644 --- a/source/blender/src/drawobject.c +++ b/source/blender/src/drawobject.c @@ -3083,6 +3083,8 @@ static void draw_new_particle_system(Base *base, ParticleSystem *psys) ma= give_current_material(ob,part->omat); + if(G.vd->zbuf) glDepthMask(1); + if(select) cpack(0xFFFFFF); else if((ma) && (part->draw&PART_DRAW_MAT_COL)) @@ -3572,9 +3574,6 @@ static void draw_new_particle_system(Base *base, ParticleSystem *psys) glDisable(GL_LIGHTING); glDisableClientState(GL_COLOR_ARRAY); glEnableClientState(GL_NORMAL_ARRAY); -#if 0 /* If this is needed, it cant be enabled in wire mode, since it messes up the view - Campbell */ - glEnable(GL_DEPTH_TEST); -#endif if(states) MEM_freeN(states); |