Fix: Cycles log levels conflict with macros on some platforms
In particular DEBUG, but prefix all of them to be sure. Pull Request: https://projects.blender.org/blender/blender/pulls/141749
This commit is contained in:
committed by
Brecht Van Lommel
parent
2b86b32fc3
commit
73fe848e07
@@ -68,7 +68,7 @@ void TaskScheduler::init(const int num_threads)
|
||||
}
|
||||
if (num_threads > 0) {
|
||||
/* Automatic number of threads. */
|
||||
LOG(INFO) << "Overriding number of TBB threads to " << num_threads << ".";
|
||||
LOG_INFO << "Overriding number of TBB threads to " << num_threads << ".";
|
||||
global_control = make_unique<tbb::global_control>(tbb::global_control::max_allowed_parallelism,
|
||||
num_threads);
|
||||
active_num_threads = num_threads;
|
||||
|
||||
Reference in New Issue
Block a user