[Bf-python] Making IK flag writable in the Bone class
Jonas Petersen
blenderjox at mindfloaters.de
Fri Oct 22 14:10:08 CEST 2004
Hi everybody!
I hope this ist the right place to post this...
The IK flag in the Bone python class is read only. The only way to
modify it is the corresponding button in the buttons panel. It's not
possible via python.
I modified python/api2_2x/Bone.c so the flag can be modified via python.
For now I did it by adding an optional bool parameter to the hasIK()
function that sets/unsets the flag.
An alternative or additional way would be to make the IK class member
variable writeable.
What do you think?
I could supply a patch if desired.
Regards,
Jonas
More information about the Bf-python
mailing list