From 0075efc4d201da992d590ef6c6462cd957955068 Mon Sep 17 00:00:00 2001 From: Brecht van Lommel Date: Mon, 26 May 2014 13:40:16 +0200 Subject: Fix T40306: cycles baking not distributing work among CPU cores well. --- intern/cycles/device/device_task.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'intern/cycles/device/device_task.h') 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& tasks, int num); - void split_max_size(list& tasks, int max_size); + void split(list& tasks, int num, int max_size = 0); void update_progress(RenderTile &rtile); -- cgit v1.2.3