diff options
author | Joshua Leung <aligorith@gmail.com> | 2007-10-30 14:18:50 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2007-10-30 14:18:50 +0300 |
commit | 0fb83a87b9e42c5216d5507a9ce19f53e2ae8095 (patch) | |
tree | 2a3c8d6956c29646c67d8d890cd3fd0d892f077f /source/blender/src/buttons_object.c | |
parent | b617c191aaa039a783b77769d0bd15d898adbd8c (diff) |
== Copy Rotation Constraint - Peach (Cessen) Request ==
Copy Rotation constraint now has ability for the owner's rotation to be added on top of the copied rotation (i.e. an 'offset' like for the Copy Location constraint).
Diffstat (limited to 'source/blender/src/buttons_object.c')
-rw-r--r-- | source/blender/src/buttons_object.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/src/buttons_object.c b/source/blender/src/buttons_object.c index 35db9294af1..52163fa150b 100644 --- a/source/blender/src/buttons_object.c +++ b/source/blender/src/buttons_object.c @@ -850,6 +850,9 @@ static void draw_constraint (uiBlock *block, ListBase *list, bConstraint *con, s uiDefButBitI(block, TOG, ROTLIKE_Z_INVERT, B_CONSTRAINT_TEST, "-", *xco+((width/2)+128), *yco-64, 32, 18, &data->flag, 0, 24, 0, 0, "Invert Z component"); uiBlockEndAlign(block); + /* draw offset toggle */ + uiDefButBitI(block, TOG, ROTLIKE_OFFSET, B_CONSTRAINT_TEST, "Offset", *xco, *yco-64, 80, 18, &data->flag, 0, 24, 0, 0, "Copy X component"); + /* constraint space settings */ draw_constraint_spaceselect(block, con, *xco, *yco-94, is_armature_owner(ob), is_armature_target(data->tar)); } |