diff options
author | Joshua Leung <aligorith@gmail.com> | 2007-07-15 11:05:24 +0400 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2007-07-15 11:05:24 +0400 |
commit | 38c84ba9386888315635648a2cb1b3a0c2ac1c87 (patch) | |
tree | dbe690dc0f51c6ba9839ee29c76486118978aebd /source/blender/src/buttons_object.c | |
parent | bc9e6f97311877cfd3afb93457d6173bdeaf7cef (diff) |
A few minor changes:
* Removed obsolete comments from constraints code
* ChildOf constraint buttons: Set/Clear Inverse are now Set/Clear Offset. Hopefully that makes it a bit clearer for users.
Diffstat (limited to 'source/blender/src/buttons_object.c')
-rw-r--r-- | source/blender/src/buttons_object.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/src/buttons_object.c b/source/blender/src/buttons_object.c index 9bbf9ef9518..6c1059fc8a1 100644 --- a/source/blender/src/buttons_object.c +++ b/source/blender/src/buttons_object.c @@ -837,10 +837,10 @@ static void draw_constraint (uiBlock *block, ListBase *list, bConstraint *con, s /* Inverse options */ uiBlockBeginAlign(block); - but=uiDefBut(block, BUT, B_CONSTRAINT_TEST, "Set Inverse", *xco, *yco-151, (width/2),18, NULL, 0, 24, 0, 0, "Calculate current Parent-Inverse Matrix"); + but=uiDefBut(block, BUT, B_CONSTRAINT_TEST, "Set Offset", *xco, *yco-151, (width/2),18, NULL, 0, 24, 0, 0, "Calculate current Parent-Inverse Matrix (i.e. restore offset from parent)"); uiButSetFunc(but, childof_const_setinv, data, NULL); - but=uiDefBut(block, BUT, B_CONSTRAINT_TEST, "Clear Inverse", *xco+((width/2)+10), *yco-151, (width/2),18, NULL, 0, 24, 0, 0, "Clear Parent-Inverse Matrix"); + but=uiDefBut(block, BUT, B_CONSTRAINT_TEST, "Clear Offset", *xco+((width/2)+10), *yco-151, (width/2),18, NULL, 0, 24, 0, 0, "Clear Parent-Inverse Matrix (i.e. clear offset from parent)"); uiButSetFunc(but, childof_const_clearinv, data, NULL); uiBlockEndAlign(block); } |