Fix T60067: some modifiers don't use shape keys correctly

This commit is contained in:
Jacques Lucke 2019-01-29 17:57:21 +01:00
parent 33dcf9fa71
commit 2ff6b2925a
Notes: blender-bot 2023-02-14 11:18:07 +01:00
Referenced by issue #60067, some modifier doesn't take shape keys information correctly
3 changed files with 6 additions and 6 deletions

View File

@ -130,8 +130,8 @@ static Mesh *applyModifier(ModifierData *md, const ModifierEvalContext *ctx, Mes
&(struct BMeshFromMeshParams){
.calc_face_normal = true,
.add_key_index = false,
.use_shapekey = true,
.active_shapekey = ctx->object->shapenr,
.use_shapekey = false,
.active_shapekey = 0,
.cd_mask_extra = CD_MASK_ORIGINDEX,
});

View File

@ -68,8 +68,8 @@ static Mesh *doEdgeSplit(Mesh *mesh, EdgeSplitModifierData *emd, const ModifierE
&(struct BMeshFromMeshParams){
.calc_face_normal = calc_face_normals,
.add_key_index = false,
.use_shapekey = true,
.active_shapekey = ctx->object->shapenr,
.use_shapekey = false,
.active_shapekey = 0,
.cd_mask_extra = CD_MASK_ORIGINDEX,
});

View File

@ -74,8 +74,8 @@ static Mesh *WireframeModifier_do(WireframeModifierData *wmd, Object *ob, Mesh *
&(struct BMeshFromMeshParams){
.calc_face_normal = true,
.add_key_index = false,
.use_shapekey = true,
.active_shapekey = ob->shapenr,
.use_shapekey = false,
.active_shapekey = 0,
.cd_mask_extra = CD_MASK_ORIGINDEX,
});