Merge branch 'master' into blender2.8
[blender.git] / source / blender / makesrna / intern / rna_depsgraph.c
index 706fb23ab56a4dc087de2cf4947ecba3a297c6ca..e6e1c714008ef9e06bf20aab93003da41ca52c29 100644 (file)
@@ -120,18 +120,18 @@ static int rna_DepsgraphIter_is_instance_get(PointerRNA *ptr)
 
 /* **************** Depsgraph **************** */
 
-static void rna_Depsgraph_debug_relations_graphviz(Depsgraph *graph,
+static void rna_Depsgraph_debug_relations_graphviz(Depsgraph *depsgraph,
                                                    const char *filename)
 {
        FILE *f = fopen(filename, "w");
        if (f == NULL) {
                return;
        }
-       DEG_debug_relations_graphviz(graph, f, "Depsgraph");
+       DEG_debug_relations_graphviz(depsgraph, f, "Depsgraph");
        fclose(f);
 }
 
-static void rna_Depsgraph_debug_stats_gnuplot(Depsgraph *graph,
+static void rna_Depsgraph_debug_stats_gnuplot(Depsgraph *depsgraph,
                                               const char *filename,
                                               const char *output_filename)
 {
@@ -139,19 +139,19 @@ static void rna_Depsgraph_debug_stats_gnuplot(Depsgraph *graph,
        if (f == NULL) {
                return;
        }
-       DEG_debug_stats_gnuplot(graph, f, "Timing Statistics", output_filename);
+       DEG_debug_stats_gnuplot(depsgraph, f, "Timing Statistics", output_filename);
        fclose(f);
 }
 
-static void rna_Depsgraph_debug_tag_update(Depsgraph *graph)
+static void rna_Depsgraph_debug_tag_update(Depsgraph *depsgraph)
 {
-       DEG_graph_tag_relations_update(graph);
+       DEG_graph_tag_relations_update(depsgraph);
 }
 
-static void rna_Depsgraph_debug_stats(Depsgraph *graph, char *result)
+static void rna_Depsgraph_debug_stats(Depsgraph *depsgraph, char *result)
 {
        size_t outer, ops, rels;
-       DEG_stats_simple(graph, &outer, &ops, &rels);
+       DEG_stats_simple(depsgraph, &outer, &ops, &rels);
        BLI_snprintf(result, STATS_MAX_SIZE,
                    "Approx %lu Operations, %lu Relations, %lu Outer Nodes",
                     ops, rels, outer);