Cleanup: remove redundant time check

This commit is contained in:
2019-08-09 23:59:04 +10:00
parent 65408cba20
commit b88d4ae12e

View File

@@ -883,7 +883,6 @@ static void TRANSFORM_OT_bend(struct wmOperatorType *ot)
Transform_Properties(ot, P_PROPORTIONAL | P_MIRROR | P_SNAP | P_GPENCIL_EDIT | P_CENTER);
}
static bool transform_shear_poll(bContext *C)
{
if (!ED_operator_screenactive(C)) {
@@ -891,10 +890,9 @@ static bool transform_shear_poll(bContext *C)
}
ScrArea *sa = CTX_wm_area(C);
return sa && !ELEM(sa->spacetype, SPACE_ACTION, SPACE_TIME);
return sa && !ELEM(sa->spacetype, SPACE_ACTION);
}
static void TRANSFORM_OT_shear(struct wmOperatorType *ot)
{
/* identifiers */