diff options
author | mano-wii <germano.costa@ig.com.br> | 2019-08-02 16:44:22 +0300 |
---|---|---|
committer | mano-wii <germano.costa@ig.com.br> | 2019-08-02 16:48:16 +0300 |
commit | 8fbe18dc8dc3e066ef0fc58b0be4f71aa7b0cda0 (patch) | |
tree | 2b2c8631616d65d671977a7213635f21930c1efd /source/blender/draw/engines/select/select_draw_utils.c | |
parent | ae7137cdf862f54c21a5e5194886fc0564aad1d1 (diff) |
DRW: Select Engine: Set uniform only once per ShadowGroup
Diffstat (limited to 'source/blender/draw/engines/select/select_draw_utils.c')
-rw-r--r-- | source/blender/draw/engines/select/select_draw_utils.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/source/blender/draw/engines/select/select_draw_utils.c b/source/blender/draw/engines/select/select_draw_utils.c index 026fd52aa58..c3615cb5a81 100644 --- a/source/blender/draw/engines/select/select_draw_utils.c +++ b/source/blender/draw/engines/select/select_draw_utils.c @@ -106,7 +106,6 @@ static void draw_select_id_edit_mesh(SELECTID_StorageList *stl, else { geom_faces = DRW_mesh_batch_cache_get_surface(me); face_shgrp = stl->g_data->shgrp_face_unif; - DRW_shgroup_uniform_int_copy(face_shgrp, "id", 0); *r_face_offset = initial_offset; } DRW_shgroup_call(face_shgrp, geom_faces, ob); @@ -158,7 +157,6 @@ static void draw_select_id_mesh(SELECTID_StorageList *stl, else { /* Only draw faces to mask out verts, we don't want their selection ID's. */ face_shgrp = stl->g_data->shgrp_face_unif; - DRW_shgroup_uniform_int_copy(face_shgrp, "id", 0); *r_face_offset = initial_offset; } DRW_shgroup_call(face_shgrp, geom_faces, ob); |