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:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2014-01-24 19:07:29 +0400
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2014-01-24 19:12:56 +0400
commit257f4088649e751a8a739dbcc17ad5b299d68c25 (patch)
tree7c784c8344ea3a7487ff371c37efffda1e9883f5
parent01c1790a1105ac84cac2ad2ed90c88a285dfac0a (diff)
Fix T38347: adding object visibility keyframes in the outliner groups and
libraries view not working. This was disabled in the operator, there may have been a reason for this at some point, but I can't see any reason to disallow it in the current code or find a good reason why it was done in the commit logs.
-rw-r--r--source/blender/editors/animation/keyframing.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/source/blender/editors/animation/keyframing.c b/source/blender/editors/animation/keyframing.c
index 2c1b3c66dd3..23f4ebeee66 100644
--- a/source/blender/editors/animation/keyframing.c
+++ b/source/blender/editors/animation/keyframing.c
@@ -1249,21 +1249,11 @@ static int modify_key_op_poll(bContext *C)
{
ScrArea *sa = CTX_wm_area(C);
Scene *scene = CTX_data_scene(C);
- SpaceOops *so = CTX_wm_space_outliner(C);
/* if no area or active scene */
if (ELEM(NULL, sa, scene))
return 0;
- /* if Outliner, don't allow in some views */
- if (so) {
- if (ELEM4(so->outlinevis, SO_GROUPS, SO_LIBRARIES, SO_SEQUENCE, SO_USERDEF)) {
- return 0;
- }
- }
-
- /* TODO: checks for other space types can be added here */
-
/* should be fine */
return 1;
}