From 04ea8c0ee87e7a110d323e92116faaff20070854 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 22 Jul 2013 23:20:48 +0000 Subject: remove the pointer from BLI_bitmap's typedef, hides that an arg passed is really an array which may be modified by other functions. --- source/blender/editors/object/object_lattice.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/blender/editors/object/object_lattice.c') 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; -- cgit v1.2.3