Fix T60067: some modifiers don't use shape keys correctly
This commit is contained in:
@@ -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,
|
||||
});
|
||||
|
||||
|
@@ -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,
|
||||
});
|
||||
|
||||
|
@@ -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,
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user