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>2010-06-02 21:58:28 +0400
committerCampbell Barton <ideasman42@gmail.com>2010-06-02 21:58:28 +0400
commit9cbbc9d3afd8742a36969736f648743d4f943393 (patch)
treea1ef5a2d550493c0c6affd2a2accdc4a97307a66 /release/scripts/modules/graphviz_export.py
parentfc59a6c6c8e847c6ad2c8132a5c10991f7f305b8 (diff)
rename some rna properties filename --> filepath
* filename == "foo.ext" * filepath == "/path/to/and/including/foo.ext" this was alredy followed in some places not not everywhere.
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 fd32a7ee3b9..874b79d8ea2 100644
--- a/release/scripts/modules/graphviz_export.py
+++ b/release/scripts/modules/graphviz_export.py
@@ -57,7 +57,7 @@ def graph_armature(obj, path, FAKE_PARENT=True, CONSTRAINTS=True, DRIVERS=True,
fileobject = open(path, "w")
fw = fileobject.write
fw(header)
- fw('label = "%s::%s" ;' % (bpy.data.filename.split("/")[-1].split("\\")[-1], obj.name))
+ fw('label = "%s::%s" ;' % (bpy.data.filepath.split("/")[-1].split("\\")[-1], obj.name))
arm = obj.data