code cleanup: use booleans for mesh and selection code.
This commit is contained in:
@@ -1403,7 +1403,7 @@ void PARTICLE_OT_select_all(wmOperatorType *ot)
|
||||
|
||||
/************************ pick select operator ************************/
|
||||
|
||||
int PE_mouse_particles(bContext *C, const int mval[2], int extend, int deselect, int toggle)
|
||||
int PE_mouse_particles(bContext *C, const int mval[2], bool extend, bool deselect, bool toggle)
|
||||
{
|
||||
PEData data;
|
||||
Scene *scene= CTX_data_scene(C);
|
||||
@@ -1584,7 +1584,7 @@ void PE_deselect_all_visible(PTCacheEdit *edit)
|
||||
}
|
||||
}
|
||||
|
||||
int PE_border_select(bContext *C, rcti *rect, int select, int extend)
|
||||
int PE_border_select(bContext *C, rcti *rect, bool select, bool extend)
|
||||
{
|
||||
Scene *scene= CTX_data_scene(C);
|
||||
Object *ob= CTX_data_active_object(C);
|
||||
@@ -1636,7 +1636,7 @@ int PE_circle_select(bContext *C, int selecting, const int mval[2], float rad)
|
||||
|
||||
/************************ lasso select operator ************************/
|
||||
|
||||
int PE_lasso_select(bContext *C, const int mcords[][2], const short moves, short extend, short select)
|
||||
int PE_lasso_select(bContext *C, const int mcords[][2], const short moves, bool extend, bool select)
|
||||
{
|
||||
Scene *scene= CTX_data_scene(C);
|
||||
Object *ob= CTX_data_active_object(C);
|
||||
|
||||
Reference in New Issue
Block a user