From a952de66b0f51f278a3a0c939e4a4e81b9d9bf66 Mon Sep 17 00:00:00 2001 From: Ton Roosendaal Date: Tue, 4 Jan 2011 15:19:16 +0000 Subject: todo item: 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 | 2 ++ source/blender/editors/space_image/space_image.c | 3 +++ 2 files changed, 5 insertions(+) (limited to 'source') diff --git a/source/blender/editors/space_image/image_buttons.c b/source/blender/editors/space_image/image_buttons.c index 756be43ccc9..ec3861ae06e 100644 --- a/source/blender/editors/space_image/image_buttons.c +++ b/source/blender/editors/space_image/image_buttons.c @@ -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) { diff --git a/source/blender/editors/space_image/space_image.c b/source/blender/editors/space_image/space_image.c index 5c4e2d80e00..db8362324a5 100644 --- a/source/blender/editors/space_image/space_image.c +++ b/source/blender/editors/space_image/space_image.c @@ -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); -- cgit v1.2.3