Depsgraph Debug: Fix save depsgraph

This commit is contained in:
Dalai Felinto 2018-05-23 18:36:23 +02:00
parent 528316ff3b
commit 23a6620ee1
1 changed files with 2 additions and 1 deletions

View File

@ -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