Preview Range operators were broken in Graph Editor
authorJoshua Leung <aligorith@gmail.com>
Thu, 11 Nov 2010 05:11:37 +0000 (05:11 +0000)
committerJoshua Leung <aligorith@gmail.com>
Thu, 11 Nov 2010 05:11:37 +0000 (05:11 +0000)
source/blender/editors/screen/screen_ops.c

index 1c47065..76e37c8 100644 (file)
@@ -144,7 +144,7 @@ int ED_operator_animview_active(bContext *C)
 {
        if(ED_operator_areaactive(C)) {
                SpaceLink *sl= (SpaceLink *)CTX_wm_space_data(C);
-               if (sl && (ELEM5(sl->spacetype, SPACE_SEQ, SPACE_SOUND, SPACE_ACTION, SPACE_NLA, SPACE_TIME)))
+               if (sl && (ELEM6(sl->spacetype, SPACE_SEQ, SPACE_SOUND, SPACE_ACTION, SPACE_NLA, SPACE_IPO, SPACE_TIME)))
                        return TRUE;
        }