diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-06-06 10:05:15 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-06-13 18:47:12 +0400 |
commit | bf462149a6d0213521b12395e10eb91f02c02326 (patch) | |
tree | 21fd955fda46046ad8182c33642baceda64cd8fc /source/blender/editors/uvedit | |
parent | a427fa5261565746b24c626766b7ffcb83712d3c (diff) |
BLI_bitmap: rename macros
- BLI_BITMAP_SET -> BLI_BITMAP_ENABLE
- BLI_BITMAP_CLEAR -> BLI_BITMAP_DISABLE
- BLI_BITMAP_GET -> BLI_BITMAP_TEST
- BLI_BITMAP_MODIFY -> BLI_BITMAP_SET
Diffstat (limited to 'source/blender/editors/uvedit')
-rw-r--r-- | source/blender/editors/uvedit/uvedit_draw.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/uvedit/uvedit_draw.c b/source/blender/editors/uvedit/uvedit_draw.c index 7c2f71c0153..a1cc23f735b 100644 --- a/source/blender/editors/uvedit/uvedit_draw.c +++ b/source/blender/editors/uvedit/uvedit_draw.c @@ -418,7 +418,7 @@ static void draw_uvs_other_mesh_new_shading(Object *ob, const Image *curimage) Image *image; ED_object_get_active_image(ob, a + 1, &image, NULL, NULL); if (image == curimage) { - BLI_BITMAP_SET(mat_test_array, a); + BLI_BITMAP_ENABLE(mat_test_array, a); ok = true; } } @@ -430,7 +430,7 @@ static void draw_uvs_other_mesh_new_shading(Object *ob, const Image *curimage) for (a = me->totpoly; a != 0; a--, mpoly++) { const int mat_nr = mpoly->mat_nr; if ((mat_nr >= ob->totcol) || - (BLI_BITMAP_GET(mat_test_array, mat_nr)) == 0) + (BLI_BITMAP_TEST(mat_test_array, mat_nr)) == 0) { continue; } |