Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2019-08-09 16:59:04 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-08-09 17:05:12 +0300
commitb88d4ae12ec652b9e44762b0b79b4e86423b1e20 (patch)
treee11960194c87ee04e2ae3c6fb504d01013b9e32b /source
parent65408cba208a8345eb6571a24167df3d0faf46ba (diff)
Cleanup: remove redundant time check
Diffstat (limited to 'source')
-rw-r--r--source/blender/editors/transform/transform_ops.c4
1 files changed, 1 insertions, 3 deletions
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 */