Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/intern/armature_update.c
| Show First 20 Lines • Show All 739 Lines • ▼ Show 20 Lines | if (armature->edbo != NULL) { | ||||
| return; | return; | ||||
| } | } | ||||
| bPoseChannel *pchan_orig = pchan->orig_pchan; | bPoseChannel *pchan_orig = pchan->orig_pchan; | ||||
| /* TODO(sergey): Using BKE_pose_copy_pchan_result() introduces T70901, but why? */ | /* TODO(sergey): Using BKE_pose_copy_pchan_result() introduces T70901, but why? */ | ||||
| copy_m4_m4(pchan_orig->pose_mat, pchan->pose_mat); | copy_m4_m4(pchan_orig->pose_mat, pchan->pose_mat); | ||||
| copy_m4_m4(pchan_orig->chan_mat, pchan->chan_mat); | copy_m4_m4(pchan_orig->chan_mat, pchan->chan_mat); | ||||
| copy_v3_v3(pchan_orig->pose_head, pchan->pose_mat[3]); | copy_v3_v3(pchan_orig->pose_head, pchan->pose_mat[3]); | ||||
| copy_m4_m4(pchan_orig->constinv, pchan->constinv); | copy_m4_m4(pchan_orig->constinv, pchan->constinv); | ||||
| copy_m4_m4(pchan_orig->disp_mat, pchan->disp_mat); | |||||
| copy_m4_m4(pchan_orig->disp_tail_mat, pchan->disp_tail_mat); | |||||
| copy_v3_v3(pchan_orig->pose_tail, pchan->pose_tail); | copy_v3_v3(pchan_orig->pose_tail, pchan->pose_tail); | ||||
| } | } | ||||
| void BKE_pose_bone_done(struct Depsgraph *depsgraph, struct Object *object, int pchan_index) | void BKE_pose_bone_done(struct Depsgraph *depsgraph, struct Object *object, int pchan_index) | ||||
| { | { | ||||
| const bArmature *armature = (bArmature *)object->data; | const bArmature *armature = (bArmature *)object->data; | ||||
| if (armature->edbo != NULL) { | if (armature->edbo != NULL) { | ||||
| return; | return; | ||||
| ▲ Show 20 Lines • Show All 178 Lines • Show Last 20 Lines | |||||