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 05:16:10 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-03-27 05:17:30 +0300
commit9ba948a4859da3308033fa6dc54f74433d7e6a21 (patch)
tree0bd6e95eb59d9af03aa32d925c68e1cbebecc246 /source/blender/blenlib/intern/BLI_timer.c
parent337eb8c1de4c57c34520b467d79779153335eecb (diff)
Cleanup: style, use braces for blenlib
Diffstat (limited to 'source/blender/blenlib/intern/BLI_timer.c')
-rw-r--r--source/blender/blenlib/intern/BLI_timer.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/source/blender/blenlib/intern/BLI_timer.c b/source/blender/blenlib/intern/BLI_timer.c
index d361a1c563d..5fcdd85ba69 100644
--- a/source/blender/blenlib/intern/BLI_timer.c
+++ b/source/blender/blenlib/intern/BLI_timer.c
@@ -112,8 +112,12 @@ static void execute_functions_if_necessary(void)
double current_time = GET_TIME();
LISTBASE_FOREACH(TimedFunction *, timed_func, &GlobalTimer.funcs) {
- if (timed_func->tag_removal) continue;
- if (timed_func->next_time > current_time) continue;
+ if (timed_func->tag_removal) {
+ continue;
+ }
+ if (timed_func->next_time > current_time) {
+ continue;
+ }
double ret = timed_func->func(timed_func->uuid, timed_func->user_data);