Merging r46414 through r46455 from trunk into soc-2011-tomato
[blender-staging.git] / source / blender / editors / screen / screen_ops.c
index 52e1f90606f26a1268f3c27224da3bbb97cf353d..8a929793c34f62d2a6ea0e8e740acc7c6f1e59e7 100644 (file)
@@ -69,6 +69,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"
@@ -449,6 +450,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: