Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/transform/transform_generics.c
| Context not available. | |||||
| FOREACH_TRANS_DATA_CONTAINER (t, tc) { | FOREACH_TRANS_DATA_CONTAINER (t, tc) { | ||||
| Object *ob = tc->poseobj; | Object *ob = tc->poseobj; | ||||
| bArmature *arm = ob->data; | bArmature *arm = ob->data; | ||||
| bPose *pose = ob->pose; | |||||
| if (arm->flag & ARM_MIRROR_EDIT) { | if (pose->flag & POSE_MIRROR_EDIT) { | ||||
| if (t->state != TRANS_CANCEL) { | if (t->state != TRANS_CANCEL) { | ||||
| PoseInitData_Mirror *pid = NULL; | PoseInitData_Mirror *pid = NULL; | ||||
| if (arm->flag & ARM_MIRROR_RELATIVE) { | if (pose->flag & POSE_MIRROR_RELATIVE) { | ||||
| pid = tc->custom.type.data; | pid = tc->custom.type.data; | ||||
| } | } | ||||
| pose_transform_mirror_update(ob, pid); | pose_transform_mirror_update(ob, pid); | ||||
| Context not available. | |||||