Commit: a84fcf8cdeb31232ff4804b245e98b48a3366524
Author: Jacques Lucke
Date:   Fri Jul 12 14:49:30 2019 +0200
Branches: functions
https://developer.blender.org/rBa84fcf8cdeb31232ff4804b245e98b48a3366524

actually use threading...

===================================================================

M       source/blender/blenlib/BLI_task.hpp

===================================================================

diff --git a/source/blender/blenlib/BLI_task.hpp 
b/source/blender/blenlib/BLI_task.hpp
index 9854dbb1592..7ac424f917c 100644
--- a/source/blender/blenlib/BLI_task.hpp
+++ b/source/blender/blenlib/BLI_task.hpp
@@ -70,7 +70,8 @@ static void parallel_array_elements(ArrayRef<T> array,
 
   ParallelRangeSettings settings = {0};
   BLI_parallel_range_settings_defaults(&settings);
-  settings.scheduling_mode = TASK_SCHEDULING_DYNAMIC;
+  settings.scheduling_mode = TASK_SCHEDULING_STATIC;
+  settings.min_iter_per_thread = 1;
 
   struct ParallelData {
     ArrayRef<T> array;

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to