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-04-11 11:27:52 +0400
committerJoshua Leung <aligorith@gmail.com>2008-04-11 11:27:52 +0400
commit716f40018286fbeeb02a736b4f5f39dffca0b1e9 (patch)
tree88f9cd009ff4885831f4c68be2eaa9a8e2bb480b /source/blender
parent539ff570159a0426355264260cae937564360010 (diff)
Constraints-UI:
* Fixed typo in tooltip for IK Constraint * Beautified Limit Distance constraint a little bit
Diffstat (limited to 'source/blender')
-rw-r--r--source/blender/src/buttons_object.c15
1 files changed, 8 insertions, 7 deletions
diff --git a/source/blender/src/buttons_object.c b/source/blender/src/buttons_object.c
index aeb94ff769c..88232d7a14a 100644
--- a/source/blender/src/buttons_object.c
+++ b/source/blender/src/buttons_object.c
@@ -1003,7 +1003,7 @@ static void draw_constraint (uiBlock *block, ListBase *list, bConstraint *con, s
/* Settings */
uiBlockBeginAlign(block);
- uiDefButBitS(block, TOG, CONSTRAINT_IK_TIP, B_CONSTRAINT_TEST, "Use Tail", *xco, *yco-92, 137, 19, &data->flag, 0, 0, 0, 0, "Include Bone's tail als last element in Chain");
+ uiDefButBitS(block, TOG, CONSTRAINT_IK_TIP, B_CONSTRAINT_TEST, "Use Tail", *xco, *yco-92, 137, 19, &data->flag, 0, 0, 0, 0, "Include Bone's tail also last element in Chain");
uiDefButS(block, NUM, B_CONSTRAINT_TEST, "ChainLen:", *xco, *yco-112,137,19, &data->rootbone, 0, 255, 0, 0, "If not zero, the amount of bones in this chain");
uiBlockBeginAlign(block);
@@ -1032,16 +1032,16 @@ static void draw_constraint (uiBlock *block, ListBase *list, bConstraint *con, s
uiButSetCompleteFunc(but, autocomplete_vgroup, (void *)data->poletar);
}
else {
- strcpy (data->polesubtarget, "");
+ strcpy(data->polesubtarget, "");
}
-
- if(data->poletar) {
+
+ if (data->poletar) {
uiBlockBeginAlign(block);
#if 0
but = uiDefBut(block, BUT, B_CONSTRAINT_TEST, (data->flag & CONSTRAINT_IK_SETANGLE)? "Set Pole Offset": "Clear Pole Offset", *xco, *yco-167, 137, 19, 0, 0.0, 1.0, 0.0, 0.0, "Set the pole rotation offset from the current pose");
uiButSetFunc(but, con_kinematic_set_pole_angle, ob, con);
- if(!(data->flag & CONSTRAINT_IK_SETANGLE))
-#endif
+ if (!(data->flag & CONSTRAINT_IK_SETANGLE))
+#endif
uiDefButF(block, NUM, B_CONSTRAINT_TEST, "Pole Offset ", *xco, *yco-167, 137, 19, &data->poleangle, -180.0, 180.0, 0, 0, "Pole rotation offset");
}
}
@@ -1482,7 +1482,8 @@ static void draw_constraint (uiBlock *block, ListBase *list, bConstraint *con, s
#endif
uiBlockEndAlign(block);
- uiDefButS(block, MENU, B_CONSTRAINT_TEST, "Limit Mode%t|Inside %x0|Outside %x1|Surface %x2", *xco+((width/2)-50), *yco-104, 100, 18, &data->mode, 0, 24, 0, 0, "Distances in relation to sphere of influence to allow");
+ uiDefBut(block, LABEL, B_CONSTRAINT_TEST, "Clamp Region:",*xco+((width/2)-110), *yco-104,100,18, NULL, 0.0, 0.0, 0.0, 0.0, "");
+ uiDefButS(block, MENU, B_CONSTRAINT_TEST, "Limit Mode%t|Inside %x0|Outside %x1|Surface %x2", *xco+(width/2), *yco-104, 100, 18, &data->mode, 0, 24, 0, 0, "Distances in relation to sphere of influence to allow");
}
break;
case CONSTRAINT_TYPE_RIGIDBODYJOINT: