diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-07-23 03:20:48 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-07-23 03:20:48 +0400 |
commit | 04ea8c0ee87e7a110d323e92116faaff20070854 (patch) | |
tree | cd3c44364ef759bb98a961d575b5e4a6343bdd28 /source/blender/editors/object/object_lattice.c | |
parent | b7bf20d9504127ec7c3d52bc8a1448d4a2bdc3bf (diff) |
remove the pointer from BLI_bitmap's typedef,
hides that an arg passed is really an array which may be modified by other functions.
Diffstat (limited to 'source/blender/editors/object/object_lattice.c')
-rw-r--r-- | source/blender/editors/object/object_lattice.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/object/object_lattice.c b/source/blender/editors/object/object_lattice.c index 54e8d8e6599..a79b0607421 100644 --- a/source/blender/editors/object/object_lattice.c +++ b/source/blender/editors/object/object_lattice.c @@ -228,7 +228,7 @@ void LATTICE_OT_select_random(wmOperatorType *ot) /************************** Select More/Less Operator *************************/ -static bool lattice_test_bitmap_uvw(Lattice *lt, BLI_bitmap selpoints, int u, int v, int w, const bool selected) +static bool lattice_test_bitmap_uvw(Lattice *lt, BLI_bitmap *selpoints, int u, int v, int w, const bool selected) { if ((u < 0 || u >= lt->pntsu) || (v < 0 || v >= lt->pntsv) || @@ -252,7 +252,7 @@ static int lattice_select_more_less(bContext *C, const bool select) BPoint *bp; const int tot = lt->pntsu * lt->pntsv * lt->pntsw; int i, w, u, v; - BLI_bitmap selpoints; + BLI_bitmap *selpoints; lt->actbp = LT_ACTBP_NONE; |