Remove redundant glColor call
This commit is contained in:
@@ -4212,7 +4212,6 @@ static void draw_mesh_fancy(Scene *scene, ARegion *ar, View3D *v3d, RegionView3D
|
||||
|
||||
if (is_obact && BKE_paint_select_vert_test(ob)) {
|
||||
const bool use_depth = (v3d->flag & V3D_ZBUF_SELECT) != 0;
|
||||
glColor3f(0.0f, 0.0f, 0.0f);
|
||||
glPointSize(UI_GetThemeValuef(TH_VERTEX_SIZE));
|
||||
|
||||
if (!use_depth) glDisable(GL_DEPTH_TEST);
|
||||
|
Reference in New Issue
Block a user