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>2018-07-03 07:27:53 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-07-03 07:48:44 +0300
commitb66aa0b0a6b123e833d4038a77a5d3f04c37a9a0 (patch)
treee47a898dbae9c74287152e57fa021ecfdff2c53d /release/scripts/modules/graphviz_export.py
parentdbe1b07e058db33a9e806d8e9808463d563d4aa5 (diff)
Cleanup: pep8
Diffstat (limited to 'release/scripts/modules/graphviz_export.py')
-rw-r--r--release/scripts/modules/graphviz_export.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/release/scripts/modules/graphviz_export.py b/release/scripts/modules/graphviz_export.py
index 88f8b15a728..fbe23a05940 100644
--- a/release/scripts/modules/graphviz_export.py
+++ b/release/scripts/modules/graphviz_export.py
@@ -140,7 +140,7 @@ def graph_armature(obj, filepath, FAKE_PARENT=True, CONSTRAINTS=True, DRIVERS=Tr
return None
#rna_path_bone = rna_path[:rna_path.index("]") + 1]
- #return obj.path_resolve(rna_path_bone)
+ # return obj.path_resolve(rna_path_bone)
bone_name = rna_path.split("[")[1].split("]")[0]
return obj.pose.bones[bone_name[1:-1]]
@@ -179,6 +179,7 @@ def graph_armature(obj, filepath, FAKE_PARENT=True, CONSTRAINTS=True, DRIVERS=Tr
print("\nSaved:", filepath)
return True
+
if __name__ == "__main__":
import os
tmppath = "/tmp/test.dot"