diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-10-25 13:07:51 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-10-25 13:07:51 +0300 |
commit | b4ba1068c1f2cdd5023929d7c5935a607b76bd9f (patch) | |
tree | 5dd23fa577f263265d16192da92b972677d2ccf0 /source | |
parent | 3fe534eebbcbbdf6551f18a24081dfb9fd314208 (diff) |
Depsgraph: Cleanup, trailing whitespace and braces
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/makesrna/intern/rna_depsgraph.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/source/blender/makesrna/intern/rna_depsgraph.c b/source/blender/makesrna/intern/rna_depsgraph.c index 3a0aa506765..4a53cea5f95 100644 --- a/source/blender/makesrna/intern/rna_depsgraph.c +++ b/source/blender/makesrna/intern/rna_depsgraph.c @@ -49,11 +49,10 @@ static void rna_Depsgraph_debug_graphviz(Depsgraph *graph, const char *filename) { FILE *f = fopen(filename, "w"); - if (f == NULL) + if (f == NULL) { return; - + } DEG_debug_graphviz(graph, f, "Depsgraph", false); - fclose(f); } @@ -86,7 +85,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"); |