From b88d4ae12ec652b9e44762b0b79b4e86423b1e20 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Fri, 9 Aug 2019 23:59:04 +1000 Subject: Cleanup: remove redundant time check --- source/blender/editors/transform/transform_ops.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'source') diff --git a/source/blender/editors/transform/transform_ops.c b/source/blender/editors/transform/transform_ops.c index 92add84f596..f8e33fe70ad 100644 --- a/source/blender/editors/transform/transform_ops.c +++ b/source/blender/editors/transform/transform_ops.c @@ -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 */ -- cgit v1.2.3