From 534009098ea094aa1f3b5298101e5d9e0a3cb1dc Mon Sep 17 00:00:00 2001 From: Alexander Gavrilov Date: Sun, 30 Sep 2018 18:07:38 +0300 Subject: Remove obsolete weight paint color computation code. The new weight paint drawing code converts weight to color directly in the shader, so the old CD_PREVIEW_MLOOPCOL based code is not needed anymore. --- source/blender/blenkernel/BKE_DerivedMesh.h | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'source/blender/blenkernel/BKE_DerivedMesh.h') diff --git a/source/blender/blenkernel/BKE_DerivedMesh.h b/source/blender/blenkernel/BKE_DerivedMesh.h index cdf0d683779..0b0030ec101 100644 --- a/source/blender/blenkernel/BKE_DerivedMesh.h +++ b/source/blender/blenkernel/BKE_DerivedMesh.h @@ -559,17 +559,6 @@ void makeDerivedMesh( struct Depsgraph *depsgraph, struct Scene *scene, struct Object *ob, struct BMEditMesh *em, CustomDataMask dataMask, const bool build_shapekey_layers); -/** Update the weight MCOL preview layer. - * If weights are NULL, use object's active vgroup(s). - * Else, weights must be an array of weight float values. - * If indices is NULL, it must be of numVerts length. - * Else, it must be of num length, as indices, which contains vertices' idx to apply weights to. - * (other vertices are assumed zero weight). - */ -void DM_update_weight_mcol( - struct Object *ob, struct DerivedMesh *dm, int const draw_flag, - float *weights, int num, const int *indices); - /** convert layers requested by a GLSL material to actually available layers in * the DerivedMesh, with both a pointer for arrays and an offset for editmesh */ typedef struct DMVertexAttribs { -- cgit v1.2.3