2.5: Remove OOPS code from the outliner space, as discussed
[blender-staging.git] / source / blender / editors / animation / keyframing.c
index b031a54495378c770f8842f272866364f545e9f3..d5e349fb7b3ecdcbf82912f830210effb5c60331 100644 (file)
@@ -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;
        }