Cleanup: remove unused MBALL_NOSEL flag
This commit is contained in:
parent
eda58c47b8
commit
044b824c9d
|
@ -54,12 +54,10 @@ void ED_mball_editmball_load(struct Object *obedit);
|
|||
/* editmball_undo.c */
|
||||
void ED_mball_undosys_type(struct UndoType *ut);
|
||||
|
||||
#define MBALLSEL_STIFF (1 << 29)
|
||||
#define MBALLSEL_RADIUS (1 << 30)
|
||||
#define MBALLSEL_STIFF (1u << 30)
|
||||
#define MBALLSEL_RADIUS (1u << 31)
|
||||
#define MBALLSEL_ANY (MBALLSEL_STIFF | MBALLSEL_RADIUS)
|
||||
|
||||
#define MBALL_NOSEL (1u << 31u)
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
|
|
@ -734,9 +734,6 @@ bool ED_mball_select_pick(bContext *C, const int mval[2], bool extend, bool dese
|
|||
if (hitresult == -1) {
|
||||
continue;
|
||||
}
|
||||
else if (hitresult & MBALL_NOSEL) {
|
||||
continue;
|
||||
}
|
||||
|
||||
const uint hit_object = hitresult & 0xFFFF;
|
||||
if (vc.obedit->runtime.select_id != hit_object) {
|
||||
|
|
|
@ -3001,9 +3001,6 @@ static bool do_meta_box_select(ViewContext *vc, const rcti *rect, const eSelectO
|
|||
if (hitresult == -1) {
|
||||
continue;
|
||||
}
|
||||
else if (hitresult & MBALL_NOSEL) {
|
||||
continue;
|
||||
}
|
||||
|
||||
const uint hit_object = hitresult & 0xFFFF;
|
||||
if (vc->obedit->runtime.select_id != hit_object) {
|
||||
|
|
Loading…
Reference in New Issue