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
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/editors/animation/keyframing.c')
-rw-r--r--source/blender/editors/animation/keyframing.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/animation/keyframing.c b/source/blender/editors/animation/keyframing.c
index b031a544953..d5e349fb7b3 100644
--- a/source/blender/editors/animation/keyframing.c
+++ b/source/blender/editors/animation/keyframing.c
@@ -1889,10 +1889,10 @@ static int modify_key_op_poll(bContext *C)
return 0;
/* if Outliner, only allow in DataBlocks view */
- if (sa->spacetype == SPACE_OOPS) {
+ if (sa->spacetype == SPACE_OUTLINER) {
SpaceOops *so= (SpaceOops *)CTX_wm_space_data(C);
- if ((so->type != SO_OUTLINER) || (so->outlinevis != SO_DATABLOCKS))
+ if ((so->outlinevis != SO_DATABLOCKS))
return 0;
}