[Bf-blender-cvs] [16b9841fc15] blender-v2.83-release: Cleanup: Remove unused variable
Jeroen Bakker
noreply at git.blender.org
Thu May 14 15:09:38 CEST 2020
Commit: 16b9841fc15191acca89c9f7ebe86b520d730d85
Author: Jeroen Bakker
Date: Thu May 14 15:09:12 2020 +0200
Branches: blender-v2.83-release
https://developer.blender.org/rB16b9841fc15191acca89c9f7ebe86b520d730d85
Cleanup: Remove unused variable
===================================================================
M source/blender/draw/engines/workbench/workbench_engine.c
===================================================================
diff --git a/source/blender/draw/engines/workbench/workbench_engine.c b/source/blender/draw/engines/workbench/workbench_engine.c
index f11a4aab668..9d6105af8fb 100644
--- a/source/blender/draw/engines/workbench/workbench_engine.c
+++ b/source/blender/draw/engines/workbench/workbench_engine.c
@@ -113,7 +113,6 @@ static void workbench_cache_sculpt_populate(WORKBENCH_PrivateData *wpd,
Object *ob,
eV3DShadingColorType color_type)
{
- const bool use_vcol = ELEM(color_type, V3D_SHADING_VERTEX_COLOR);
const bool use_single_drawcall = !ELEM(color_type, V3D_SHADING_MATERIAL_COLOR);
BLI_assert(wpd->shading.color_type != V3D_SHADING_TEXTURE_COLOR);
More information about the Bf-blender-cvs
mailing list