Remove redundant glColor call
authorCampbell Barton <ideasman42@gmail.com>
Tue, 11 Apr 2017 00:47:00 +0000 (10:47 +1000)
committerCampbell Barton <ideasman42@gmail.com>
Tue, 11 Apr 2017 00:47:00 +0000 (10:47 +1000)
source/blender/editors/space_view3d/drawobject.c

index 3226601be466f89b01e5c5ba020e3a384f5b489a..335d06497298e07ba4baa862786b0225d861fad9 100644 (file)
@@ -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);