[Bf-extensions-cvs] [23a6620e] blender2.8: Depsgraph Debug: Fix save depsgraph

Dalai Felinto noreply at git.blender.org
Wed May 23 18:36:28 CEST 2018


Commit: 23a6620ee1fb883927257d9bb22190bdf8adda24
Author: Dalai Felinto
Date:   Wed May 23 18:36:23 2018 +0200
Branches: blender2.8
https://developer.blender.org/rBA23a6620ee1fb883927257d9bb22190bdf8adda24

Depsgraph Debug: Fix save depsgraph

===================================================================

M	depsgraph_debug.py

===================================================================

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



More information about the Bf-extensions-cvs mailing list