diff options
author | Joshua Leung <aligorith@gmail.com> | 2011-01-31 14:19:23 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2011-01-31 14:19:23 +0300 |
commit | 97002c2d90bb067d9e5b7cd592619bf388950a48 (patch) | |
tree | 69c04fb4db69c4e253450e1d13bc3af3dae21bb7 /source/blender/editors/space_node | |
parent | 48fc6f569811bc29011d21e82f76c4152692ecf4 (diff) |
Bugfix [#25876] bpy.ops.constraint.childof_set_inverse has no effect
This was a two-part bug: a user error + API error.
* User Error: before calling bpy.ops.constraint.childof_set_inverse()
for a constraint defined on a bone, you firstly need to explicitly
make that bone the active bone. To do that, you do
armature.bones.active = posebone.bone # or something similar
* API Error: active bone setting was a bit too strict. It only allows
setting the active bone if the new bone comes from the same armature,
but was overlooking the fact that RNA pointers may have been created
through the object using the armature instead.
Diffstat (limited to 'source/blender/editors/space_node')
0 files changed, 0 insertions, 0 deletions