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>2020-10-10 10:19:55 +0300
committerCampbell Barton <ideasman42@gmail.com>2020-10-10 14:04:51 +0300
commit2abfcebb0eb7989e3d1e7d03f37ecf5c088210af (patch)
treee7a1ad5912b4661d4ece743f4f7fd86e6bf4d3c4 /source/blender/windowmanager/intern/wm_jobs.c
parentc735aca42e9f5961fec7e5d5fc196b5bd6b85f56 (diff)
Cleanup: use C comments for descriptive text
Follow our code style guide by using C-comments for text descriptions.
Diffstat (limited to 'source/blender/windowmanager/intern/wm_jobs.c')
-rw-r--r--source/blender/windowmanager/intern/wm_jobs.c16
1 files changed, 13 insertions, 3 deletions
diff --git a/source/blender/windowmanager/intern/wm_jobs.c b/source/blender/windowmanager/intern/wm_jobs.c
index c9b125901e7..189657f7aa3 100644
--- a/source/blender/windowmanager/intern/wm_jobs.c
+++ b/source/blender/windowmanager/intern/wm_jobs.c
@@ -443,7 +443,11 @@ static void wm_jobs_test_suspend_stop(wmWindowManager *wm, wmJob *test)
/* Possible suspend ourselves, waiting for other jobs, or de-suspend. */
test->suspended = suspend;
- // if (suspend) printf("job suspended: %s\n", test->name);
+#if 0
+ if (suspend) {
+ printf("job suspended: %s\n", test->name);
+ }
+#endif
}
/**
@@ -679,8 +683,14 @@ void wm_jobs_timer(wmWindowManager *wm, wmTimer *wt)
wm_job->run_customdata = NULL;
wm_job->run_free = NULL;
- // if (wm_job->stop) printf("job ready but stopped %s\n", wm_job->name);
- // else printf("job finished %s\n", wm_job->name);
+#if 0
+ if (wm_job->stop) {
+ printf("job ready but stopped %s\n", wm_job->name);
+ }
+ else {
+ printf("job finished %s\n", wm_job->name);
+ }
+#endif
if (G.debug & G_DEBUG_JOBS) {
printf("Job '%s' finished in %f seconds\n",