Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTon Roosendaal <ton@blender.org>2011-01-03 20:37:37 +0300
committerTon Roosendaal <ton@blender.org>2011-01-03 20:37:37 +0300
commit3902eca8ca19eabaf7378d251ab417ed66da7e89 (patch)
tree45e8107e37385f70f39528491ee18161a8feadbc /source/blender/editors/space_image/space_image.c
parent3f0210ca1dba894f3551144ef9c780bba6d3e7dd (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/space_image/space_image.c')
-rw-r--r--source/blender/editors/space_image/space_image.c1
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");