diff options
author | Joseph Eagar <joeedh@gmail.com> | 2021-05-20 00:36:00 +0300 |
---|---|---|
committer | Joseph Eagar <joeedh@gmail.com> | 2021-05-20 00:36:00 +0300 |
commit | 4352980b0fba00206e6e935cb2070d399f328b0a (patch) | |
tree | 7886a200fb15710ea0efd47485d22f73ac84b4cd /source/blender/blenlib/BLI_mempool.h | |
parent | 3d6ac0bd7b4596c63b496b2a9c23cae77a8eb741 (diff) |
Dyntopo
* Got threaded mesh->bmesh conversion working (it's disabled
pending further testing however).
Note that SCULPT_dynamic_topology_enable_ex calls BKE_scene_graph_update_tagged,
which in tests was adding ~1 second to conversion time for larger
meshes. Do we need this call?
Diffstat (limited to 'source/blender/blenlib/BLI_mempool.h')
-rw-r--r-- | source/blender/blenlib/BLI_mempool.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenlib/BLI_mempool.h b/source/blender/blenlib/BLI_mempool.h index 65f60071771..6109a216d95 100644 --- a/source/blender/blenlib/BLI_mempool.h +++ b/source/blender/blenlib/BLI_mempool.h @@ -93,7 +93,6 @@ BLI_mempool_iter *BLI_mempool_iter_threadsafe_create(BLI_mempool *pool, ATTR_NONNULL(); void BLI_mempool_iter_threadsafe_free(BLI_mempool_iter *iter_arr) ATTR_NONNULL(); - /* This preallocates a mempool suitable for threading. totelem elements are preallocated in chunks of size pchunk, and returned in r_chunks. @@ -104,6 +103,7 @@ BLI_mempool *BLI_mempool_create_for_tasks(const unsigned int esize, const unsigned int pchunk, void ***r_chunks, unsigned int *r_totchunk, + unsigned int *r_esize, unsigned int flag); #ifdef __cplusplus |