2.5: Image Editor
[blender-staging.git] / source / blender / editors / space_image / image_ops.c
index 73a7f570c4483a0cda9115fef95ca2097084f378..537996601b8c60f1ee39e08f45dcb74b6b744171 100644 (file)
@@ -132,10 +132,10 @@ static int space_image_file_exists_poll(bContext *C)
 int space_image_main_area_poll(bContext *C)
 {
        SpaceLink *slink= CTX_wm_space_data(C);
-       ARegion *ar= CTX_wm_region(C);
+       // XXX ARegion *ar= CTX_wm_region(C);
 
        if(slink && (slink->spacetype == SPACE_IMAGE))
-               return (ar && ar->type->regionid == RGN_TYPE_WINDOW);
+               return 1; // XXX (ar && ar->type->regionid == RGN_TYPE_WINDOW);
        
        return 0;
 }