diff options
author | Ton Roosendaal <ton@blender.org> | 2011-01-03 20:37:37 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2011-01-03 20:37:37 +0300 |
commit | 3902eca8ca19eabaf7378d251ab417ed66da7e89 (patch) | |
tree | 45e8107e37385f70f39528491ee18161a8feadbc /source/blender/editors | |
parent | 3f0210ca1dba894f3551144ef9c780bba6d3e7dd (diff) |
Image window Scopes (P key): the 4th "line histogram" was not
initialized on 100 pixels height on creation.
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/space_image/space_image.c | 1 |
1 files changed, 1 insertions, 0 deletions
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"); |