diff options
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 |