From bf87df34855acb394d8c966f055b96bd2d78ea79 Mon Sep 17 00:00:00 2001 From: Pablo Dobarro Date: Fri, 26 Jun 2020 21:57:19 +0200 Subject: Fix T78323: Enable Unified and Secondary colors for Scultp Vertex Colors The report does not include any file, but probably that file is using the settings for unified colors, which are currently not available in the UI, so it always paints black. This enables unified colors and secondary colors for sculpt vertex colors, so it should solve that issue. Unified color does not make much sense now as the Paint tool is the only one that has paint capabilities, but it will do in the future when sculpt and paint at the same time is enabled and the paint capability is added to more tools. Reviewed By: sergey Maniphest Tasks: T78323 Differential Revision: https://developer.blender.org/D8136 --- source/blender/blenkernel/BKE_paint.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source/blender/blenkernel/BKE_paint.h') diff --git a/source/blender/blenkernel/BKE_paint.h b/source/blender/blenkernel/BKE_paint.h index d3718b70c96..21195566179 100644 --- a/source/blender/blenkernel/BKE_paint.h +++ b/source/blender/blenkernel/BKE_paint.h @@ -366,6 +366,7 @@ typedef struct SculptSession { /* TODO(jbakker): Replace rv3d adn v3d with ViewContext */ struct RegionView3D *rv3d; struct View3D *v3d; + struct Scene *scene; /* Dynamic mesh preview */ int *preview_vert_index_list; -- cgit v1.2.3