Code cleanup: remove check for painting non-mesh objects (its impossible)

This commit is contained in:
Campbell Barton
2014-01-29 03:38:07 +11:00
parent aa51f499b3
commit 90ff9d7dca

View File

@@ -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 */