Merging r41246 through r41535 from trunk into soc-2011-tomato
[blender.git] / source / blender / editors / object / object_constraint.c
index a43719b..0afe40a 100644 (file)
@@ -1286,9 +1286,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;