Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2019-04-22 05:20:14 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-04-22 12:48:17 +0300
commit7d6a9b551759cf3f1cca0c6d8ecb1459d02dcc28 (patch)
tree38a07e8238a559d0e72f10b91ee149dc62a131b3 /source/blender/depsgraph/intern/depsgraph_debug.cc
parentb102472551c351d8be8ebf96e3e44a5454f02d0a (diff)
Cleanup: style, use braces
Add braces for modules already using braces almost everywhere.
Diffstat (limited to 'source/blender/depsgraph/intern/depsgraph_debug.cc')
-rw-r--r--source/blender/depsgraph/intern/depsgraph_debug.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/source/blender/depsgraph/intern/depsgraph_debug.cc b/source/blender/depsgraph/intern/depsgraph_debug.cc
index e795bed144d..6253d31b8aa 100644
--- a/source/blender/depsgraph/intern/depsgraph_debug.cc
+++ b/source/blender/depsgraph/intern/depsgraph_debug.cc
@@ -237,10 +237,12 @@ void DEG_stats_simple(const Depsgraph *graph,
tot_rels += time_source->inlinks.size();
}
- if (r_relations)
+ if (r_relations) {
*r_relations = tot_rels;
- if (r_outer)
+ }
+ if (r_outer) {
*r_outer = tot_outer;
+ }
}
}