Commit: b9c48323b6fcf4d33bcb76ea1338a2b133fdae81
Author: Jeroen Bakker
Date: Tue Apr 5 10:24:16 2022 +0200
Branches: temp-T96709-painting-target
https://developer.blender.org/rBb9c48323b6fcf4d33bcb76ea1338a2b133fdae81
Remove commented out code in workbench.
===================================================================
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 50bb05f6d52..44e0e02139b 100644
--- a/source/blender/draw/engines/workbench/workbench_engine.c
+++ b/source/blender/draw/engines/workbench/workbench_engine.c
@@ -95,8 +95,6 @@ static void
workbench_cache_sculpt_populate(WORKBENCH_PrivateData *wpd,
eV3DShadingColorType color_type)
{
const bool use_single_drawcall = !ELEM(color_type,
V3D_SHADING_MATERIAL_COLOR);
- // BLI_assert(color_type != V3D_SHADING_TEXTURE_COLOR);
-
if (use_single_drawcall) {
DRWShadingGroup *grp = workbench_material_setup(wpd, ob, 0, color_type,
NULL);
DRW_shgroup_call_sculpt(grp, ob, false, false);
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
List details, subscription details or unsubscribe:
https://lists.blender.org/mailman/listinfo/bf-blender-cvs