add block 'ambient-occlusion' property
This commit is contained in:
@@ -200,7 +200,7 @@ public:
|
||||
}
|
||||
}
|
||||
|
||||
void enqueueJob(std::shared_ptr<T> job) {
|
||||
void enqueueJob(const std::shared_ptr<T>& job) {
|
||||
{
|
||||
std::lock_guard<std::mutex> lock(jobsMutex);
|
||||
jobs.push(job);
|
||||
@@ -244,6 +244,10 @@ public:
|
||||
update();
|
||||
}
|
||||
}
|
||||
|
||||
uint getWorkersCount() const {
|
||||
return threads.size();
|
||||
}
|
||||
};
|
||||
|
||||
} // namespace util
|
||||
|
||||
Reference in New Issue
Block a user