From 22787636816a8661b7c4974216f3ea5af7cda2b0 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Fri, 22 Feb 2019 14:45:32 +0100 Subject: Multires: Don't force smooth shading There is still work needed to be done from multires side to fully support smooth shading. So can't just always have smooth shading. Roll back to a proper code in GPU side, the rest will be handled from CCG side. --- source/blender/gpu/intern/gpu_buffers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/gpu') diff --git a/source/blender/gpu/intern/gpu_buffers.c b/source/blender/gpu/intern/gpu_buffers.c index 85459c4de40..242882b011a 100644 --- a/source/blender/gpu/intern/gpu_buffers.c +++ b/source/blender/gpu/intern/gpu_buffers.c @@ -504,7 +504,7 @@ void GPU_pbvh_grid_buffers_update( bool empty_mask = true; int i, j, k, x, y; - const bool smooth = true;//grid_flag_mats[grid_indices[0]].flag & ME_SMOOTH; + const bool smooth = grid_flag_mats[grid_indices[0]].flag & ME_SMOOTH; /* Build VBO */ const int has_mask = key->has_mask; -- cgit v1.2.3