From 39bac58cdf3f1db633913ea4838bf223bc15ec3b Mon Sep 17 00:00:00 2001 From: Henrik Dick Date: Thu, 10 Feb 2022 22:29:10 +0100 Subject: Fix: Enable edge bevel weight in solidify if needed Complex Solidify creates edge bevel weights on the rim if the according vertex has some vertex bevel weight. If there are no edge bevel weights, they were left disabled even if vertex bevel weights are used. --- source/blender/modifiers/intern/MOD_solidify_nonmanifold.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender') diff --git a/source/blender/modifiers/intern/MOD_solidify_nonmanifold.c b/source/blender/modifiers/intern/MOD_solidify_nonmanifold.c index 1aa52d44509..5f6decdbe80 100644 --- a/source/blender/modifiers/intern/MOD_solidify_nonmanifold.c +++ b/source/blender/modifiers/intern/MOD_solidify_nonmanifold.c @@ -1924,7 +1924,7 @@ Mesh *MOD_solidify_nonmanifold_modifyMesh(ModifierData *md, int *origindex_edge = CustomData_get_layer(&result->edata, CD_ORIGINDEX); int *origindex_poly = CustomData_get_layer(&result->pdata, CD_ORIGINDEX); - if (bevel_convex != 0.0f) { + if (bevel_convex != 0.0f || (result->cd_flag & ME_CDFLAG_VERT_BWEIGHT) != 0) { /* make sure bweight is enabled */ result->cd_flag |= ME_CDFLAG_EDGE_BWEIGHT; } -- cgit v1.2.3