diff options
author | Campbell Barton <ideasman42@gmail.com> | 2009-12-03 17:20:35 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2009-12-03 17:20:35 +0300 |
commit | 685d418f3a185a3e52fb84ba121c621e1017b623 (patch) | |
tree | 44facaafb50e87da76d5647196c400c05fcec98b /release/scripts/modules/graphviz_export.py | |
parent | 3b1c6d6065ea784e6986bff58a842afd0915dc7a (diff) |
- 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
Diffstat (limited to 'release/scripts/modules/graphviz_export.py')
-rw-r--r-- | release/scripts/modules/graphviz_export.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/modules/graphviz_export.py b/release/scripts/modules/graphviz_export.py index 84614c9dc70..5d0ff4fe824 100644 --- a/release/scripts/modules/graphviz_export.py +++ b/release/scripts/modules/graphviz_export.py @@ -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'] |