diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-01-11 17:14:30 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-01-11 17:14:30 +0300 |
commit | 656b9a46b356d304a688d8661c1958c57b454828 (patch) | |
tree | b1a04b0df8675c45d0133d178b995ebc99a970b3 /source/blender/depsgraph/intern/eval/deg_eval.cc | |
parent | c36f4a7f7f370ebb6e944d9893d2677232d3b7f8 (diff) | |
parent | 38d480fb54dbac5bb87b002e4ee22c1d3df89f90 (diff) |
Merge branch 'master' into blender2.8
Diffstat (limited to 'source/blender/depsgraph/intern/eval/deg_eval.cc')
-rw-r--r-- | source/blender/depsgraph/intern/eval/deg_eval.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/depsgraph/intern/eval/deg_eval.cc b/source/blender/depsgraph/intern/eval/deg_eval.cc index 116f853ebdf..a6c6a16a528 100644 --- a/source/blender/depsgraph/intern/eval/deg_eval.cc +++ b/source/blender/depsgraph/intern/eval/deg_eval.cc @@ -132,12 +132,11 @@ static void calculate_pending_func( static void calculate_pending_parents(Depsgraph *graph) { const int num_operations = graph->operations.size(); - const bool do_threads = (num_operations > 256); CalculatePengindData data; data.graph = graph; ParallelRangeSettings settings; BLI_parallel_range_settings_defaults(&settings); - settings.use_threading = do_threads; + settings.min_iter_per_thread = 1024; BLI_task_parallel_range(0, num_operations, &data, |