Cleanup: shadow warning, remove unused flags

This commit is contained in:
Campbell Barton 2022-02-02 13:10:26 +11:00
parent 9cc4861e6f
commit 811606a064
2 changed files with 0 additions and 9 deletions

View File

@ -40,13 +40,6 @@ struct wmKeyConfig;
struct wmOperatorType;
struct wmWindowManager;
/* drawing flags: */
enum {
DRAW_PICKING = (1 << 0),
DRAW_CONSTCOLOR = (1 << 1),
DRAW_SCENESET = (1 << 2),
};
/* view3d_header.c */
void VIEW3D_OT_toggle_matcap_flip(struct wmOperatorType *ot);

View File

@ -954,8 +954,6 @@ int ED_transform_calc_gizmo_stats(const bContext *C,
for (uint ob_index = 0; ob_index < objects_len; ob_index++) {
Object *ob_iter = objects[ob_index];
const bool use_mat_local = params->use_local_axis && (ob_iter != ob);
bPoseChannel *pchan;
/* mislead counting bones... bah. We don't know the gizmo mode, could be mixed */
const int mode = TFM_ROTATION;