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/subdiv_foreach.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/subdiv_foreach.c')
-rw-r--r-- | source/blender/blenkernel/intern/subdiv_foreach.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/subdiv_foreach.c b/source/blender/blenkernel/intern/subdiv_foreach.c index 511536c31b5..f049b23a9ef 100644 --- a/source/blender/blenkernel/intern/subdiv_foreach.c +++ b/source/blender/blenkernel/intern/subdiv_foreach.c @@ -288,7 +288,7 @@ static void subdiv_foreach_ctx_init(Subdiv *subdiv, /* Calculate number of geometry in the result subdivision mesh. */ subdiv_foreach_ctx_count(ctx); /* Re-set maps which were used at this step. */ - BLI_BITMAP_SET_ALL(ctx->coarse_edges_used_map, false, coarse_mesh->totedge); + BLI_bitmap_set_all(ctx->coarse_edges_used_map, false, coarse_mesh->totedge); ctx->face_ptex_offset = BKE_subdiv_face_ptex_offset_get(subdiv); } |