diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2018-05-23 19:36:23 +0300 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2018-05-23 19:36:23 +0300 |
commit | 23a6620ee1fb883927257d9bb22190bdf8adda24 (patch) | |
tree | df950578c3e2e8b65ebb14b64d4400591799473b /depsgraph_debug.py | |
parent | 528316ff3b55097ec5d63a10ebc56687cf99bd13 (diff) |
Depsgraph Debug: Fix save depsgraph
Diffstat (limited to 'depsgraph_debug.py')
-rw-r--r-- | depsgraph_debug.py | 3 |
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 |