todo item:
authorTon Roosendaal <ton@blender.org>
Tue, 4 Jan 2011 15:19:16 +0000 (15:19 +0000)
committerTon Roosendaal <ton@blender.org>
Tue, 4 Jan 2011 15:19:16 +0000 (15:19 +0000)
Files saved with image-window composite preview panel still
rendered cropped, but theres no way to disable it. Now it
ignores cropping.

source/blender/editors/space_image/image_buttons.c
source/blender/editors/space_image/space_image.c

index 756be43ccc92bbfa03420aa7cf8e39ef140f0f84..ec3861ae06ed8a59f33f8a6c1a27ded4aae925aa 100644 (file)
@@ -349,6 +349,8 @@ static void image_panel_curves(const bContext *C, Panel *pa)
 #if 0
 /* 0: disable preview 
    otherwise refresh preview
+   XXX if you put this back, also check XXX in image_main_area_draw() */
 */
 void image_preview_event(int event)
 {
index 5c4e2d80e00ceaa7160aaf66c7cdb4f192ee1722..db8362324a534289371072c37753f75b5fc0dae6 100644 (file)
@@ -767,6 +767,9 @@ static void image_main_area_draw(const bContext *C, ARegion *ar)
        //View2DScrollers *scrollers;
        float col[3];
        
+       /* XXX not supported yet, disabling for now */
+       scene->r.scemode &= ~R_COMP_CROP;
+       
        /* clear and setup matrix */
        UI_GetThemeColor3fv(TH_BACK, col);
        glClearColor(col[0], col[1], col[2], 0.0);