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>2008-05-23 15:12:03 +0400
committerJoshua Leung <aligorith@gmail.com>2008-05-23 15:12:03 +0400
commit18abce25e5e53a284818d1ebbb5ee5a7eecaa339 (patch)
treed50d90e312cc8b957f1ae57b09c46284c130f6f9
parent02c4866d040d4cc695cae5e6afe4b0c2f1100df6 (diff)
Typos and whitespace tweaks
-rw-r--r--source/blender/src/buttons_object.c2
-rw-r--r--source/blender/src/drawarmature.c2
-rw-r--r--source/blender/src/editconstraint.c8
3 files changed, 6 insertions, 6 deletions
diff --git a/source/blender/src/buttons_object.c b/source/blender/src/buttons_object.c
index 409063ea5ab..fb36d103656 100644
--- a/source/blender/src/buttons_object.c
+++ b/source/blender/src/buttons_object.c
@@ -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);
diff --git a/source/blender/src/drawarmature.c b/source/blender/src/drawarmature.c
index 99de2c1583d..73915a69139 100644
--- a/source/blender/src/drawarmature.c
+++ b/source/blender/src/drawarmature.c
@@ -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 */
diff --git a/source/blender/src/editconstraint.c b/source/blender/src/editconstraint.c
index 653e74c70b4..0ad58a5ce4b 100644
--- a/source/blender/src/editconstraint.c
+++ b/source/blender/src/editconstraint.c
@@ -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);
}
}