Typos and whitespace tweaks
This commit is contained in:
@@ -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, 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);
|
||||
|
||||
@@ -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,
|
||||
* 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 */
|
||||
|
||||
@@ -681,7 +681,7 @@ static void test_constraints (Object *owner, const char substring[])
|
||||
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;
|
||||
@@ -831,9 +831,9 @@ static void test_bonelist_constraints (Object *owner, ListBase *list)
|
||||
{
|
||||
Bone *bone;
|
||||
|
||||
for (bone = list->first; bone; bone=bone->next) {
|
||||
for (bone = list->first; bone; bone = bone->next) {
|
||||
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)
|
||||
test_bonelist_constraints (owner, &arm->bonebase);
|
||||
test_bonelist_constraints(owner, &arm->bonebase);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user