From 6b767b8018cbf5ca5657cad842271d8d6327ddd0 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 3 Nov 2010 01:56:02 +0000 Subject: fix [#24499] Consistency Issue with LassoSelect/ExtendOption Added extend option to lasso. also... - selecting bones wasn't checking their layer of if they were hidden in a number of places. - fixed memory leak. small unrealed changes - added PBONE_VISIBLE macro - renamed functions used for paint selectoin from *_tface to paintface_*. sine they no longer have anything todo with tface's. - removed scanfill include from BLI_blenlib.h, this is only used in very few places and quite specific. Noticed lasso select is broken for metaballs and face mask mode but this has been the case for a while, will look into it next. --- source/blender/editors/include/ED_particle.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source/blender/editors/include/ED_particle.h') diff --git a/source/blender/editors/include/ED_particle.h b/source/blender/editors/include/ED_particle.h index 87aa7ca9195..f3b65b343ef 100644 --- a/source/blender/editors/include/ED_particle.h +++ b/source/blender/editors/include/ED_particle.h @@ -59,7 +59,8 @@ void PE_update_object(struct Scene *scene, struct Object *ob, int useflag); int PE_mouse_particles(struct bContext *C, short *mval, int extend); int PE_border_select(struct bContext *C, struct rcti *rect, int select, int extend); int PE_circle_select(struct bContext *C, int selecting, short *mval, float rad); -int PE_lasso_select(struct bContext *C, short mcords[][2], short moves, short select); +int PE_lasso_select(struct bContext *C, short mcords[][2], short moves, short extend, short select); +void PE_deselect_all_visible(struct PTCacheEdit *edit); /* undo */ void PE_undo_push(struct Scene *scene, char *str); -- cgit v1.2.3