diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2014-04-28 11:07:21 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2014-04-28 11:07:21 +0400 |
commit | da25ae183a35b8aea831502fa000c9d90ba52ba5 (patch) | |
tree | d7b8fabfdbb07c22dc47d1931c66cdf2c44cca4d /source/blender/editors | |
parent | c504b8b237e1f9e866969ca6cd599b2884543686 (diff) |
Remove unused argument from sculpt_omp_start()
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/sculpt_paint/sculpt.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/source/blender/editors/sculpt_paint/sculpt.c b/source/blender/editors/sculpt_paint/sculpt.c index 291eda966a9..d8816e73dff 100644 --- a/source/blender/editors/sculpt_paint/sculpt.c +++ b/source/blender/editors/sculpt_paint/sculpt.c @@ -3783,7 +3783,7 @@ static void sculpt_init_mirror_clipping(Object *ob, SculptSession *ss) } } -static void sculpt_omp_start(Scene *scene, Sculpt *sd, SculptSession *ss) +static void sculpt_omp_start(Sculpt *sd, SculptSession *ss) { StrokeCache *cache = ss->cache; @@ -3805,7 +3805,6 @@ static void sculpt_omp_start(Scene *scene, Sculpt *sd, SculptSession *ss) cache->max_threads = omp_get_max_threads(); omp_set_num_threads(cache->num_threads); #else - (void)scene; (void)sd; cache->num_threads = 1; #endif @@ -4026,7 +4025,7 @@ static void sculpt_update_cache_invariants(bContext *C, Sculpt *sd, SculptSessio cache->previous_vertex_rotation = 0; cache->init_dir_set = false; - sculpt_omp_start(scene, sd, ss); + sculpt_omp_start(sd, ss); } static void sculpt_update_brush_delta(UnifiedPaintSettings *ups, Object *ob, Brush *brush) |