Only search projects.blender.org
Log In
New Account
Home
My Page
Projects
Blender 2.x BF release
Summary
Activity
Tracker
SCM
Files
Blender 2.6 Bug Tracker: Browse
[#25876] bpy.ops.constraint.childof_set_inverse has no effect
Date:
2011-01-31 06:32
Priority:
3
State:
Closed
Submitted by:
Thomas Larsson (
thomasl
)
Assigned to:
Nobody (None)
Category:
Python
Status:
Fixed / Closed
Relates to:
Duplicates:
Patches:
Summary:
bpy.ops.constraint.childof_set_inverse has no effect
Detailed description
This is perhaps related to 25814. Both bugs involve the childof constraint, and both appeared at the same time (around November 2010).
The script creates two bones with a childof constraint on the slave. It ends with a call to
bpy.ops.constraint.childof_set_inverse(constraint='MasterSlave',owner='BONE').
However, the call has no effect. If we instead comment out this line, run the script and press the SetInverse button in Blender, the slave is oriented correctly.
Followup
Message
Date
: 2011-01-31 12:20
Sender
:
Joshua Leung
Fixed in svn. See commitlog.
In short, add the line:
amt.bones.active = pb.bone
just before calling the operator.
Attached Files:
Name
Date
Download
childof-setinverse.py
2011-01-31 06:33
Download
childof2.png
2011-01-31 06:33
Download
Changes:
Field
Old Value
Date
By
Status
New
2011-01-31 12:20
aligorith
status_id
Open
2011-01-31 12:20
aligorith
close_date
None
2011-01-31 12:20
aligorith
File Added
14805: childof2.png
2011-01-31 06:33
thomasl
File Added
14806: childof-setinverse.py
2011-01-31 06:33
thomasl