Cleanup: Remove unused boundbox flag

This flag hasn't been used for around four years. The convention in this
header seems to be commenting out the flag and adding "UNUSED" after it.
This commit is contained in:
2022-04-01 13:55:17 -05:00
parent f688e3cc31
commit 11c6d4e88e
2 changed files with 1 additions and 8 deletions

View File

@@ -409,9 +409,6 @@ bool ED_view3d_boundbox_clip_ex(const RegionView3D *rv3d, const BoundBox *bb, fl
if (bb == NULL) {
return true;
}
if (bb->flag & BOUNDBOX_DISABLED) {
return true;
}
mul_m4_m4m4(persmatob, (float(*)[4])rv3d->persmat, obmat);
@@ -423,10 +420,6 @@ bool ED_view3d_boundbox_clip(RegionView3D *rv3d, const BoundBox *bb)
if (bb == NULL) {
return true;
}
if (bb->flag & BOUNDBOX_DISABLED) {
return true;
}
return view3d_boundbox_clip_m4(bb, rv3d->persmatob);
}

View File

@@ -93,7 +93,7 @@ typedef struct BoundBox {
/** #BoundBox.flag */
enum {
BOUNDBOX_DISABLED = (1 << 0),
/* BOUNDBOX_DISABLED = (1 << 0), */ /* UNUSED */
BOUNDBOX_DIRTY = (1 << 1),
};