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.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user