Image window Scopes (P key): the 4th "line histogram" was not

initialized on 100 pixels height on creation.
This commit is contained in:
2011-01-03 17:37:37 +00:00
parent 3f0210ca1d
commit 3902eca8ca

View File

@@ -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");