diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-01-28 20:38:07 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-01-28 20:38:07 +0400 |
commit | 90ff9d7dcaa33454b99c1165405cb14a1ead0f7c (patch) | |
tree | 2761f0c44cfcc58c5a9f7ea261c86be1610f188b /source/blender/editors/space_view3d/drawobject.c | |
parent | aa51f499b3baf86f745c27867e27af44cb3330a8 (diff) |
Code cleanup: remove check for painting non-mesh objects (its impossible)
Diffstat (limited to 'source/blender/editors/space_view3d/drawobject.c')
-rw-r--r-- | source/blender/editors/space_view3d/drawobject.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/source/blender/editors/space_view3d/drawobject.c b/source/blender/editors/space_view3d/drawobject.c index dd2138b5420..f4619e3c4cd 100644 --- a/source/blender/editors/space_view3d/drawobject.c +++ b/source/blender/editors/space_view3d/drawobject.c @@ -6769,13 +6769,6 @@ void draw_object(Scene *scene, ARegion *ar, View3D *v3d, Base *base, const short glEnable(GL_DEPTH_TEST); } - else { - if (dt < OB_SOLID) { - dt = OB_SOLID; - glEnable(GL_DEPTH_TEST); - zbufoff = 1; - } - } } else { /* matcap check - only when not painting color */ |