[Bf-blender-cvs] [b88d4ae12ec] master: Cleanup: remove redundant time check
Campbell Barton
noreply at git.blender.org
Fri Aug 9 16:05:23 CEST 2019
Commit: b88d4ae12ec652b9e44762b0b79b4e86423b1e20
Author: Campbell Barton
Date: Fri Aug 9 23:59:04 2019 +1000
Branches: master
https://developer.blender.org/rBb88d4ae12ec652b9e44762b0b79b4e86423b1e20
Cleanup: remove redundant time check
===================================================================
M source/blender/editors/transform/transform_ops.c
===================================================================
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 */
More information about the Bf-blender-cvs
mailing list