From 0d63bb005ff7c45ca0ebcfbe4eaf1215dfe2d3e2 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Fri, 28 Oct 2011 12:40:15 +0000 Subject: replace VECCOPY and QUATCOPY with inline funcs. --- source/blender/editors/object/object_constraint.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'source/blender/editors/object/object_constraint.c') 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; -- cgit v1.2.3