diff options
author | Alexander Gavrilov <angavrilov@gmail.com> | 2018-12-15 11:47:24 +0300 |
---|---|---|
committer | Alexander Gavrilov <angavrilov@gmail.com> | 2018-12-19 15:53:12 +0300 |
commit | d211c9aa0aaa68fe126ce632746b705903d03173 (patch) | |
tree | fbcc4533fc4a62d2c75d3626594fae039cf3ad2d /source/blender/blenkernel/intern/bvhutils.c | |
parent | dad260c164adf0f86853e2f8046916739fccaffd (diff) |
BLI_bitmap: add functions operating on the whole bitmask.
There is no point having operations that iterate over the whole
bit array as macros, so convert BLI_BITMAP_SET_ALL to a function.
Also, add more utilities for copying and manipulating masks.
Reviewers: brecht, campbellbarton
Differential Revision: https://developer.blender.org/D4101
Diffstat (limited to 'source/blender/blenkernel/intern/bvhutils.c')
-rw-r--r-- | source/blender/blenkernel/intern/bvhutils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/bvhutils.c b/source/blender/blenkernel/intern/bvhutils.c index 83b18a57ba4..c264eb8a1d2 100644 --- a/source/blender/blenkernel/intern/bvhutils.c +++ b/source/blender/blenkernel/intern/bvhutils.c @@ -1043,7 +1043,7 @@ static BLI_bitmap *loose_verts_map_get( int *r_loose_vert_num) { BLI_bitmap *loose_verts_mask = BLI_BITMAP_NEW(verts_num, __func__); - BLI_BITMAP_SET_ALL(loose_verts_mask, true, verts_num); + BLI_bitmap_set_all(loose_verts_mask, true, verts_num); const MEdge *e = medge; int num_linked_verts = 0; |