diff options
Diffstat (limited to 'intern/cycles/util')
-rw-r--r-- | intern/cycles/util/util_task.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/intern/cycles/util/util_task.h b/intern/cycles/util/util_task.h index 401a503f540..a2f284479c7 100644 --- a/intern/cycles/util/util_task.h +++ b/intern/cycles/util/util_task.h @@ -95,6 +95,7 @@ public: static void exit(); static int num_threads() { return threads.size(); } + static bool active() { return users != 0; } protected: friend class TaskPool; |