diff options
author | Brecht van Lommel <brechtvanlommel@gmail.com> | 2014-05-26 15:40:16 +0400 |
---|---|---|
committer | Brecht van Lommel <brechtvanlommel@gmail.com> | 2014-05-26 15:51:11 +0400 |
commit | 0075efc4d201da992d590ef6c6462cd957955068 (patch) | |
tree | 875f90577f22120f09b45d5770a22b1c083ddaba /intern/cycles/device/device_task.h | |
parent | 3b4f792ce102f5c892e4108c19512dd3b9968335 (diff) |
Fix T40306: cycles baking not distributing work among CPU cores well.
Diffstat (limited to 'intern/cycles/device/device_task.h')
-rw-r--r-- | intern/cycles/device/device_task.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/intern/cycles/device/device_task.h b/intern/cycles/device/device_task.h index c1bd39b70ca..91390674286 100644 --- a/intern/cycles/device/device_task.h +++ b/intern/cycles/device/device_task.h @@ -52,8 +52,7 @@ public: DeviceTask(Type type = PATH_TRACE); - void split(list<DeviceTask>& tasks, int num); - void split_max_size(list<DeviceTask>& tasks, int max_size); + void split(list<DeviceTask>& tasks, int num, int max_size = 0); void update_progress(RenderTile &rtile); |