Blender Git Loki

Git Commits -> Revision 7baa8d2

Revision 7baa8d2 by Dalai Felinto (master)
October 17, 2018, 00:10 (GMT)
Multi-Objects: POSE_OT_ik_add + POSE_OT_constraint_add_with_targets

You can now add the target from the non-active armature when they are
both in pose mode.

There were different ways of going about those operators:

* We could create one constraint on each active bone of each object.
That wouldn't follow what creating constraints from the UI does
though.

* We could change the selection/active order and create a constraint for
all the selected bones, to the active bone. However this would change
the design of changing only the active bone (which also is the one we
see in the buttons editor).

But in the end I think it makes more sense to let users set a constraint
from a charactor to a prop in a handy way.

This is pretty much what we had in 2.7x. There we would go for the
selected objects, if no selected bone was found in the active object.
In 2.8, however, we need this change to make things working as
before/intended.

Commit Details:

Full Hash: 7baa8d2e8f07328fbb187e82f477e56950c25c46
Parent Commit: 41ad845
Lines Changed: +5, -1

1 Modified Path:

/source/blender/editors/object/object_constraint.c (+5, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021