Merging r46725 through r46963 from trunk into soc-2011-tomato
[blender.git] / source / blender / editors / screen / screen_ops.c
index 5c68c92..f8fad8d 100644 (file)
@@ -71,6 +71,7 @@
 #include "ED_screen_types.h"
 #include "ED_keyframes_draw.h"
 #include "ED_view3d.h"
+#include "ED_clip.h"
 
 #include "RNA_access.h"
 #include "RNA_define.h"
@@ -451,6 +452,13 @@ int ED_operator_editmball(bContext *C)
        return 0;
 }
 
+int ED_operator_mask(bContext *C)
+{
+       SpaceClip *sc= CTX_wm_space_clip(C);
+
+       return ED_space_clip_show_maskedit(sc);
+}
+
 /* *************************** action zone operator ************************** */
 
 /* operator state vars used: