Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Leung <aligorith@gmail.com>2007-04-12 11:22:23 +0400
committerJoshua Leung <aligorith@gmail.com>2007-04-12 11:22:23 +0400
commit8435da4774c75ec9e546e81b0761cd86be86fad8 (patch)
treeb07deafae89d7544c3998acb844dfeca1ee03705 /source/blender/src/poseobject.c
parent355fecabe910260e54ecfc671af4a8dc4e12fef8 (diff)
Added comments to the pose_copy_menu function (i.e. Ctrl C in PoseMode) for clarity.
Diffstat (limited to 'source/blender/src/poseobject.c')
-rw-r--r--source/blender/src/poseobject.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/source/blender/src/poseobject.c b/source/blender/src/poseobject.c
index 38a622971e9..f477a578dbd 100644
--- a/source/blender/src/poseobject.c
+++ b/source/blender/src/poseobject.c
@@ -521,26 +521,26 @@ void pose_copy_menu(void)
(pchan!=pchanact)
) {
switch (nr) {
- case 1:
+ case 1: /* Local Location */
VECCOPY(pchan->loc, pchanact->loc);
break;
- case 2:
+ case 2: /* Local Rotation */
QUATCOPY(pchan->quat, pchanact->quat);
break;
- case 3:
+ case 3: /* Local Size */
VECCOPY(pchan->size, pchanact->size);
break;
- case 4:
+ case 4: /* All Constraints */
{
free_constraints(&pchan->constraints);
copy_constraints(&pchan->constraints, &pchanact->constraints);
pchan->constflag = pchanact->constflag;
}
break;
- case 6:
+ case 6: /* Transform Locks */
pchan->protectflag = pchanact->protectflag;
break;
- case 7:
+ case 7: /* IK (DOF) settings */
{
pchan->ikflag = pchanact->ikflag;
VECCOPY(pchan->limitmin, pchanact->limitmin);
@@ -549,13 +549,13 @@ void pose_copy_menu(void)
pchan->ikstretch= pchanact->ikstretch;
}
break;
- case 8:
+ case 8: /* Custom Bone Shape */
pchan->custom = pchanact->custom;
break;
- case 9:
+ case 9: /* Visual Location */
armature_loc_pose_to_bone(pchan, pchanact->pose_mat[3], pchan->loc);
break;
- case 10:
+ case 10: /* Visual Rotation */
{
float delta_mat[4][4], quat[4];
@@ -564,7 +564,7 @@ void pose_copy_menu(void)
QUATCOPY(pchan->quat, quat);
}
break;
- case 11:
+ case 11: /* Visual Size */
{
float delta_mat[4][4], size[4];