Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Gavrilov <angavrilov@gmail.com>2018-12-15 11:47:24 +0300
committerAlexander Gavrilov <angavrilov@gmail.com>2018-12-19 15:53:12 +0300
commitd211c9aa0aaa68fe126ce632746b705903d03173 (patch)
treefbcc4533fc4a62d2c75d3626594fae039cf3ad2d /source/blender/blenkernel/intern/mesh_evaluate.c
parentdad260c164adf0f86853e2f8046916739fccaffd (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/mesh_evaluate.c')
-rw-r--r--source/blender/blenkernel/intern/mesh_evaluate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/mesh_evaluate.c b/source/blender/blenkernel/intern/mesh_evaluate.c
index b6ba4a15e40..c5bcb72165e 100644
--- a/source/blender/blenkernel/intern/mesh_evaluate.c
+++ b/source/blender/blenkernel/intern/mesh_evaluate.c
@@ -1769,7 +1769,7 @@ static void mesh_normals_loop_custom_set(
&lnors_spacearr, NULL, loop_to_poly);
}
else {
- BLI_BITMAP_SET_ALL(done_loops, true, (size_t)numLoops);
+ BLI_bitmap_set_all(done_loops, true, (size_t)numLoops);
}
/* And we just have to convert plain object-space custom normals to our lnor space-encoded ones. */