Merging r47624 through r47661 from trunk into soc-2011-tomato
[blender.git] / source / blender / editors / space_clip / clip_dopesheet_ops.c
index 914e82472bbc023377134a86d3ce482d4d3a17ba..7b0b1eb170f823eeed1d88df74a7cd54591747d0 100644 (file)
 
 #include "clip_intern.h"       // own include
 
+#if 0
+static int ED_space_clip_dopesheet_poll(bContext *C)
+{
+       SpaceClip *sc = CTX_wm_space_clip(C);
+
+       if (sc && sc->clip) {
+               if (sc->view == SC_VIEW_DOPESHEET) {
+                       ARegion *ar = CTX_wm_region(C);
+
+                       return ar->regiontype == RGN_TYPE_PREVIEW;
+               }
+       }
+
+       return FALSE;
+}
+#endif
+
 /********************** select channel operator *********************/
 
 static int dopesheet_select_channel_poll(bContext *C)