diff options
author | Ton Roosendaal <ton@blender.org> | 2011-01-04 18:19:16 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2011-01-04 18:19:16 +0300 |
commit | a952de66b0f51f278a3a0c939e4a4e81b9d9bf66 (patch) | |
tree | 016a98c9cbd8f8ed4f4b5189b4675d9c248f2e3f /source | |
parent | 5db20b512e3d3c87ee9310ba940232109d8e1f60 (diff) |
todo item:
Files saved with image-window composite preview panel still
rendered cropped, but theres no way to disable it. Now it
ignores cropping.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/space_image/image_buttons.c | 2 | ||||
-rw-r--r-- | source/blender/editors/space_image/space_image.c | 3 |
2 files changed, 5 insertions, 0 deletions
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); |