diff options
author | Pablo Dobarro <pablodp606@gmail.com> | 2020-05-14 16:27:11 +0300 |
---|---|---|
committer | Pablo Dobarro <pablodp606@gmail.com> | 2020-05-14 17:47:50 +0300 |
commit | 78e3b7c28d858ca256c99338cf195b9d60f2c3d6 (patch) | |
tree | c5f06c01a65543dcbbd875b4a6d6765904bd8473 /source/blender/gpu/GPU_buffers.h | |
parent | e58525706328f902baaa0252cb28b4a33534259c (diff) |
Sculpt: Render Face Sets always as flat shading
This removes the smooth shading rendering from the face set overlay when
smooth shading is enabled.
Reviewed By: jbakker
Maniphest Tasks: T74906, T74622, T75331, T76530
Differential Revision: https://developer.blender.org/D7105
Diffstat (limited to 'source/blender/gpu/GPU_buffers.h')
-rw-r--r-- | source/blender/gpu/GPU_buffers.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/source/blender/gpu/GPU_buffers.h b/source/blender/gpu/GPU_buffers.h index 22086b8a9d6..ab16bfc43c4 100644 --- a/source/blender/gpu/GPU_buffers.h +++ b/source/blender/gpu/GPU_buffers.h @@ -49,8 +49,7 @@ typedef struct GPU_PBVH_Buffers GPU_PBVH_Buffers; /* Build must be called once before using the other functions, used every time * mesh topology changes. Threaded. */ -GPU_PBVH_Buffers *GPU_pbvh_mesh_buffers_build(const int (*face_vert_indices)[3], - const struct MPoly *mpoly, +GPU_PBVH_Buffers *GPU_pbvh_mesh_buffers_build(const struct MPoly *mpoly, const struct MLoop *mloop, const struct MLoopTri *looptri, const struct MVert *verts, @@ -78,14 +77,11 @@ enum { void GPU_pbvh_mesh_buffers_update(GPU_PBVH_Buffers *buffers, const struct MVert *mvert, - const int *vert_indices, - int totvert, const float *vmask, const struct MLoopCol *vcol, const int *sculpt_face_sets, const int face_sets_color_seed, const int face_sets_color_default, - const int (*face_vert_indices)[3], const int update_flags); void GPU_pbvh_bmesh_buffers_update(GPU_PBVH_Buffers *buffers, |