[Bf-blender-cvs] [f6b9b452d8b] blender2.8: Cleanup: Trailign whitespace
Sergey Sharybin
noreply at git.blender.org
Fri Jun 2 16:09:05 CEST 2017
Commit: f6b9b452d8bb2424b11f5c80cb18ef2c37648558
Author: Sergey Sharybin
Date: Fri Jun 2 16:08:53 2017 +0200
Branches: blender2.8
https://developer.blender.org/rBf6b9b452d8bb2424b11f5c80cb18ef2c37648558
Cleanup: Trailign whitespace
===================================================================
M source/blender/makesrna/intern/rna_depsgraph.c
===================================================================
diff --git a/source/blender/makesrna/intern/rna_depsgraph.c b/source/blender/makesrna/intern/rna_depsgraph.c
index 22566ea2296..82f8c454b53 100644
--- a/source/blender/makesrna/intern/rna_depsgraph.c
+++ b/source/blender/makesrna/intern/rna_depsgraph.c
@@ -54,9 +54,9 @@ static void rna_Depsgraph_debug_graphviz(Depsgraph *graph, const char *filename)
FILE *f = fopen(filename, "w");
if (f == NULL)
return;
-
+
DEG_debug_graphviz(graph, f, "Depsgraph", false);
-
+
fclose(f);
}
@@ -73,13 +73,13 @@ static void rna_Depsgraph_debug_rebuild(Depsgraph *UNUSED(graph), Main *bmain)
static void rna_Depsgraph_debug_stats(Depsgraph *graph, ReportList *reports)
{
size_t outer, ops, rels;
-
+
DEG_stats_simple(graph, &outer, &ops, &rels);
-
+
// XXX: report doesn't seem to work
printf("Approx %lu Operations, %lu Relations, %lu Outer Nodes\n",
ops, rels, outer);
-
+
BKE_reportf(reports, RPT_WARNING, "Approx. %lu Operations, %lu Relations, %lu Outer Nodes",
ops, rels, outer);
}
@@ -126,7 +126,7 @@ static void rna_def_depsgraph(BlenderRNA *brna)
srna = RNA_def_struct(brna, "Depsgraph", NULL);
RNA_def_struct_ui_text(srna, "Dependency Graph", "");
-
+
func = RNA_def_function(srna, "debug_graphviz", "rna_Depsgraph_debug_graphviz");
parm = RNA_def_string_file_path(func, "filename", NULL, FILE_MAX, "File Name",
"File in which to store graphviz debug output");
More information about the Bf-blender-cvs
mailing list