Changeset View
Changeset View
Standalone View
Standalone View
source/blender/modifiers/intern/MOD_hook.c
| Context not available. | |||||
| } | } | ||||
| static void deformVerts_do( | static void deformVerts_do( | ||||
| HookModifierData *hmd, const ModifierEvalContext *UNUSED(ctx), | HookModifierData *hmd, const ModifierEvalContext *ctx, | ||||
| Object *ob, Mesh *mesh, | Object *ob, Mesh *mesh, | ||||
| float (*vertexCos)[3], int numVerts) | float (*vertexCos)[3], int numVerts) | ||||
| { | { | ||||
| Object *ob_target = hmd->object; | Object *ob_target = DEG_get_evaluated_object(ctx->depsgraph, hmd->object); | ||||
| bPoseChannel *pchan = BKE_pose_channel_find_name(ob_target->pose, hmd->subtarget); | bPoseChannel *pchan = BKE_pose_channel_find_name(ob_target->pose, hmd->subtarget); | ||||
| float dmat[4][4]; | float dmat[4][4]; | ||||
| int i, *index_pt; | int i, *index_pt; | ||||
| Context not available. | |||||