Typos and whitespace tweaks
authorJoshua Leung <aligorith@gmail.com>
Fri, 23 May 2008 11:12:03 +0000 (11:12 +0000)
committerJoshua Leung <aligorith@gmail.com>
Fri, 23 May 2008 11:12:03 +0000 (11:12 +0000)
source/blender/src/buttons_object.c
source/blender/src/drawarmature.c
source/blender/src/editconstraint.c

index 409063ea5ab8d42673a83771beeaca1ae1f76cb4..fb36d1036561b82cd6797d92f9e46a09fcd9deef 100644 (file)
@@ -978,7 +978,7 @@ static void draw_constraint (uiBlock *block, ListBase *list, bConstraint *con, s
                                uiDefBut(block, ROUNDBOX, B_DIFF, "", *xco-10, *yco-height, width+40,height-1, NULL, 5.0, 0.0, 12, rb_col, ""); 
                                
                                /* IK Target */
                                uiDefBut(block, ROUNDBOX, B_DIFF, "", *xco-10, *yco-height, width+40,height-1, NULL, 5.0, 0.0, 12, rb_col, ""); 
                                
                                /* IK Target */
-                               uiDefBut(block, LABEL, B_CONSTRAINT_TEST, "Target:", *xco, *yco-24, 50, 18, NULL, 0.0, 0.0, 0.0, 0.0, ""); 
+                               uiDefBut(block, LABEL, B_CONSTRAINT_TEST, "Target:", *xco, *yco-24, 80, 18, NULL, 0.0, 0.0, 0.0, 0.0, ""); 
                                
                                /* Draw target parameters */
                                uiBlockBeginAlign(block);
                                
                                /* Draw target parameters */
                                uiBlockBeginAlign(block);
index 99de2c1583d800d77e2d9d19f986ce2a3a4e4847..73915a69139cb3b4a569c4bc5d141559ff2668d7 100644 (file)
@@ -1618,7 +1618,7 @@ static void draw_pose_channels(Base *base, int dt)
                }
                
                /* very very confusing... but in object mode, solid draw, we cannot do glLoadName yet,
                }
                
                /* very very confusing... but in object mode, solid draw, we cannot do glLoadName yet,
-                * stick bones and/or wire custom-shpaes are drawn in next loop 
+                * stick bones and/or wire custom-shapes are drawn in next loop 
                 */
                if ((arm->drawtype != ARM_LINE) && (draw_wire == 0)) {
                        /* object tag, for bordersel optim */
                 */
                if ((arm->drawtype != ARM_LINE) && (draw_wire == 0)) {
                        /* object tag, for bordersel optim */
index 653e74c70b410583ffc948b48342ea4b45546ce5..0ad58a5ce4b78db5e5ffe36072540431f463e9f0 100644 (file)
@@ -681,7 +681,7 @@ static void test_constraints (Object *owner, const char substring[])
                                Bone *bone;
                                bPoseChannel *chan;
                                
                                Bone *bone;
                                bPoseChannel *chan;
                                
-                               bone = get_named_bone( ((bArmature *)owner->data ), substring );
+                               bone = get_named_bone( ((bArmature *)owner->data), substring );
                                chan = get_pose_channel(owner->pose, substring);
                                if (bone && chan) {
                                        conlist = &chan->constraints;
                                chan = get_pose_channel(owner->pose, substring);
                                if (bone && chan) {
                                        conlist = &chan->constraints;
@@ -831,9 +831,9 @@ static void test_bonelist_constraints (Object *owner, ListBase *list)
 {
        Bone *bone;
 
 {
        Bone *bone;
 
-       for (bone = list->first; bone; bone=bone->next) {
+       for (bone = list->first; bone; bone = bone->next) {
                test_constraints(owner, bone->name);
                test_constraints(owner, bone->name);
-               test_bonelist_constraints (owner, &bone->childbase);
+               test_bonelist_constraints(owner, &bone->childbase);
        }
 }
 
        }
 }
 
@@ -845,7 +845,7 @@ void object_test_constraints (Object *owner)
                bArmature *arm= get_armature(owner);
                
                if (arm)
                bArmature *arm= get_armature(owner);
                
                if (arm)
-                       test_bonelist_constraints (owner, &arm->bonebase);
+                       test_bonelist_constraints(owner, &arm->bonebase);
        }
 }
 
        }
 }