diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2008-02-26 20:46:22 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2008-02-26 20:46:22 +0300 |
commit | a88627d56e902827bfb9a86e17f2e1093bc10d81 (patch) | |
tree | 4992bbeb160699cf5ab47d2bed67acfcfd73256b /source/blender/src/drawobject.c | |
parent | 2089ac309196f4fd024ea2a9a8793fbb6f4a36a2 (diff) |
Weight, vertex and texture paint modes now don't draw the active
object on top of everything anymore. It can be useful to see objects
that are in front too, and if you don't want to see them you can
just go into local viewmode. It's also more consistent with editmode
which doesn't draw on top either.
Diffstat (limited to 'source/blender/src/drawobject.c')
-rw-r--r-- | source/blender/src/drawobject.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/source/blender/src/drawobject.c b/source/blender/src/drawobject.c index 6375af4d49e..37c0f87aec6 100644 --- a/source/blender/src/drawobject.c +++ b/source/blender/src/drawobject.c @@ -4943,7 +4943,6 @@ void draw_object(Base *base, int flag) else { dt= OB_SHADED; - glClearDepth(1.0); glClear(GL_DEPTH_BUFFER_BIT); glEnable(GL_DEPTH_TEST); if(dt<OB_SOLID) zbufoff= 1; } @@ -4951,7 +4950,6 @@ void draw_object(Base *base, int flag) else { if(dt<OB_SOLID) { dt= OB_SOLID; - glClearDepth(1.); glClear(GL_DEPTH_BUFFER_BIT); glEnable(GL_DEPTH_TEST); zbufoff= 1; } |