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-03-27 17:11:28 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-03-27 17:14:03 +0300
commit73b55a5508c6f3e9bb7b59d2d903ac584518eccc (patch)
treed7fdb2fd47bf743d3a7bc6a5edfccbd25b8175dd /source/blender/draw/intern/draw_manager_profiling.c
parent56b06ee83afba38099fb7affc260885a613a3779 (diff)
Cleanup: style, use braces for draw
Diffstat (limited to 'source/blender/draw/intern/draw_manager_profiling.c')
-rw-r--r--source/blender/draw/intern/draw_manager_profiling.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/draw/intern/draw_manager_profiling.c b/source/blender/draw/intern/draw_manager_profiling.c
index 03811688982..51c0f4c4640 100644
--- a/source/blender/draw/intern/draw_manager_profiling.c
+++ b/source/blender/draw/intern/draw_manager_profiling.c
@@ -326,7 +326,9 @@ void DRW_stats_draw(rcti *rect)
DRWTimer *timer_parent = (timer->lvl > 0) ? &DTP.timers[lvl_index[timer->lvl - 1]] : NULL;
/* Only display a number of lvl at a time */
- if ((G.debug_value - 21) < timer->lvl) continue;
+ if ((G.debug_value - 21) < timer->lvl) {
+ continue;
+ }
BLI_assert(timer->lvl < MAX_NESTED_TIMER);
lvl_index[timer->lvl] = i;