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

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDalai Felinto <dfelinto@gmail.com>2018-05-23 19:36:23 +0300
committerDalai Felinto <dfelinto@gmail.com>2018-05-23 19:36:23 +0300
commit23a6620ee1fb883927257d9bb22190bdf8adda24 (patch)
treedf950578c3e2e8b65ebb14b64d4400591799473b /depsgraph_debug.py
parent528316ff3b55097ec5d63a10ebc56687cf99bd13 (diff)
Depsgraph Debug: Fix save depsgraph
Diffstat (limited to 'depsgraph_debug.py')
-rw-r--r--depsgraph_debug.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/depsgraph_debug.py b/depsgraph_debug.py
index 438d4885..c007232a 100644
--- a/depsgraph_debug.py
+++ b/depsgraph_debug.py
@@ -96,8 +96,9 @@ class SCENE_OT_depsgraph_relations_graphviz(Operator,
return ".dot"
def performSave(self, context, depsgraph):
+ import os
basename, extension = os.path.splitext(self.filepath)
- depsgraph.debug_relations_graphviz(self.filepath, absename + ".png")
+ depsgraph.debug_relations_graphviz(os.path.join(self.filepath, basename + ".dot"))
return True