Skip to content

Commit

Permalink
Depsgraph Debug: Fix save depsgraph
Browse files Browse the repository at this point in the history
  • Loading branch information
dfelinto committed May 23, 2018
1 parent 528316f commit 23a6620
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion depsgraph_debug.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,9 @@ def _getExtension(self, context):
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


Expand Down

0 comments on commit 23a6620

Please sign in to comment.