From ee74e720a82b7a1fb5f732cd8ceacbb26fa7e0d3 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 8 Dec 2009 17:00:53 +0000 Subject: - modify for Cessens updated spine - Neck example didnt account for some possible problems when linking to the body - foot IK were referencing the wrong bones - updated some example rigs - graph constraint arrow direction was incorrect --- release/scripts/modules/graphviz_export.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'release/scripts/modules/graphviz_export.py') diff --git a/release/scripts/modules/graphviz_export.py b/release/scripts/modules/graphviz_export.py index 8f9f2c01ad5..92eb427f8d2 100644 --- a/release/scripts/modules/graphviz_export.py +++ b/release/scripts/modules/graphviz_export.py @@ -51,7 +51,7 @@ def compat_str(text, line_length=0): return "* " + text -def graph_armature(obj, path, FAKE_PARENT=True, CONSTRAINTS=True, DRIVERS=True, XTRA_INFO=False): +def graph_armature(obj, path, FAKE_PARENT=True, CONSTRAINTS=True, DRIVERS=True, XTRA_INFO=True): CONSTRAINTS = DRIVERS = True fileobject = open(path, "w") @@ -131,7 +131,7 @@ def graph_armature(obj, path, FAKE_PARENT=True, CONSTRAINTS=True, DRIVERS=True, if XTRA_INFO: label = "%s\n%s" % (constraint.type, constraint.name) opts.append('label="%s"' % compat_str(label)) - fw('"%s" -> "%s" [%s] ;\n' % (subtarget, pbone.name, ','.join(opts))) + fw('"%s" -> "%s" [%s] ;\n' % (pbone.name, subtarget, ','.join(opts))) # Drivers if DRIVERS: -- cgit v1.2.3