diff options
author | Antony Riakiotakis <kalast@gmail.com> | 2013-07-08 19:35:53 +0400 |
---|---|---|
committer | Antony Riakiotakis <kalast@gmail.com> | 2013-07-08 19:35:53 +0400 |
commit | 861f9e10f7ea9d1d38130ecbc983fe8f8dac93d0 (patch) | |
tree | ef12905a6b1f3628f7102f27e094ce64c04f7715 /source/blender/blenlib/BLI_threads.h | |
parent | 27734f5bec7b717e82128e637c805b95e2b0f889 (diff) |
Attempt to fix #35057, disable threading if diameter of the brush
becomes too small. Typically this would happen if the number of buckets
is clipped to the maximum value. This avoids thread overhead.
A better fix might be to do bucket-brush intersection on main thread and
dispatch threads to process bucket hits as they become available. This
way only one thread at most would end up being used in such cases
anyway. A better task scheduler is needed for that though, leaving for
after GSOC.
Diffstat (limited to 'source/blender/blenlib/BLI_threads.h')
0 files changed, 0 insertions, 0 deletions