From 3902eca8ca19eabaf7378d251ab417ed66da7e89 Mon Sep 17 00:00:00 2001 From: Ton Roosendaal Date: Mon, 3 Jan 2011 17:37:37 +0000 Subject: Image window Scopes (P key): the 4th "line histogram" was not initialized on 100 pixels height on creation. --- source/blender/editors/space_image/space_image.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source/blender/editors/space_image/space_image.c') diff --git a/source/blender/editors/space_image/space_image.c b/source/blender/editors/space_image/space_image.c index 8b8772c6e28..5c4e2d80e00 100644 --- a/source/blender/editors/space_image/space_image.c +++ b/source/blender/editors/space_image/space_image.c @@ -391,6 +391,7 @@ static SpaceLink *image_new(const bContext *UNUSED(C)) simage->iuser.frames= 100; scopes_new(&simage->scopes); + simage->sample_line_hist.height= 100; /* header */ ar= MEM_callocN(sizeof(ARegion), "header for image"); -- cgit v1.2.3