- curve geometry curve panel wasnt displaying with no active spline

- graph export didnt work for constraints with no subtarget
- utility functions for duplicating a set of bones and blending between 2 sets
This commit is contained in:
2009-12-03 14:20:35 +00:00
parent 3b1c6d6065
commit 685d418f3a
3 changed files with 150 additions and 11 deletions

View File

@@ -119,7 +119,7 @@ def graph_armature(obj, path, FAKE_PARENT=True, CONSTRAINTS=True, DRIVERS=True):
pbone = obj.pose.bones[bone]
# must be ordered
for constraint in pbone.constraints:
subtarget = constraint.subtarget
subtarget = getattr(constraint, "subtarget", "")
if subtarget:
# TODO, not internal links
opts = ['dir=forward', "weight=1", "arrowhead=normal", "arrowtail=none", "constraint=false", 'color="red"', 'labelfontsize=4']