Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2009-12-03 17:20:35 +0300
committerCampbell Barton <ideasman42@gmail.com>2009-12-03 17:20:35 +0300
commit685d418f3a185a3e52fb84ba121c621e1017b623 (patch)
tree44facaafb50e87da76d5647196c400c05fcec98b /release/scripts/modules/graphviz_export.py
parent3b1c6d6065ea784e6986bff58a842afd0915dc7a (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.py2
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']