diff options
author | Jens Verwiebe <info@jensverwiebe.de> | 2014-03-31 21:11:52 +0400 |
---|---|---|
committer | Jens Verwiebe <info@jensverwiebe.de> | 2014-03-31 21:11:52 +0400 |
commit | 6815a22110cb8a387cce93cbb232507e69f8f678 (patch) | |
tree | 2eb99e99fd82fbedc61a226faed184fa39416b28 /source/blender/editors/sculpt_paint/sculpt.c | |
parent | 262fd0865ae7a371b93dcbc090be81181186dbd2 (diff) |
Sculpt/dytopo: remove debug prints and add explanations
Diffstat (limited to 'source/blender/editors/sculpt_paint/sculpt.c')
-rw-r--r-- | source/blender/editors/sculpt_paint/sculpt.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/source/blender/editors/sculpt_paint/sculpt.c b/source/blender/editors/sculpt_paint/sculpt.c index 5f8091cbeb7..32c6f108ac4 100644 --- a/source/blender/editors/sculpt_paint/sculpt.c +++ b/source/blender/editors/sculpt_paint/sculpt.c @@ -3785,12 +3785,11 @@ static void sculpt_omp_start(Scene *scene, Sculpt *sd, SculptSession *ss) else { cache->num_threads = 1; } - omp_set_num_threads(cache->num_threads); + omp_set_num_threads(cache->num_threads); /* set user-defined corecount wich is physical cores when "AUTO" ( atm. OSX-only )*/ #else (void)sd; cache->num_threads = 1; #endif -// printf("Sculpt omp threadcount: %d\n", cache->num_threads); if (ss->multires) { int i, gridsize, array_mem_size; BKE_pbvh_node_get_grids(ss->pbvh, NULL, NULL, NULL, NULL, @@ -4631,8 +4630,7 @@ static void sculpt_stroke_done(const bContext *C, struct PaintStroke *UNUSED(str #ifdef _OPENMP if (!(sd->flags & SCULPT_USE_OPENMP)) - omp_set_num_threads(BLI_system_thread_count()); -// printf("Reseted to omp threadcount: %d\n", BLI_system_thread_count()); + omp_set_num_threads(BLI_system_thread_count()); /* set back to original logical corecount */ #endif sculpt_brush_exit_tex(sd); |