diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-10-28 16:40:15 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-10-28 16:40:15 +0400 |
commit | 0d63bb005ff7c45ca0ebcfbe4eaf1215dfe2d3e2 (patch) | |
tree | 39e55a1385696d10833080d7482ada1e031f9bd9 /source/blender/editors/object/object_constraint.c | |
parent | 565fcd8907c4cbd105bef9330e13ccbd893a6f3e (diff) |
replace VECCOPY and QUATCOPY with inline funcs.
Diffstat (limited to 'source/blender/editors/object/object_constraint.c')
-rw-r--r-- | source/blender/editors/object/object_constraint.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/source/blender/editors/object/object_constraint.c b/source/blender/editors/object/object_constraint.c index ab9c071ab30..50b798c5bea 100644 --- a/source/blender/editors/object/object_constraint.c +++ b/source/blender/editors/object/object_constraint.c @@ -1268,9 +1268,10 @@ static short get_new_constraint_target(bContext *C, int con_type, Object **tar_o else mul_v3_m4v3(obt->loc, obact->obmat, pchanact->pose_head); } - else - VECCOPY(obt->loc, obact->obmat[3]); - + else { + copy_v3_v3(obt->loc, obact->obmat[3]); + } + /* restore, add_object sets active */ BASACT= base; base->flag |= SELECT; |