[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [34046] trunk/blender/source/blender/ editors/space_image/space_image.c: Image window Scopes (P key): the 4th " line histogram" was not

Ton Roosendaal ton at blender.org
Mon Jan 3 18:37:38 CET 2011


Revision: 34046
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=34046
Author:   ton
Date:     2011-01-03 18:37:37 +0100 (Mon, 03 Jan 2011)

Log Message:
-----------
Image window Scopes (P key): the 4th "line histogram" was not
initialized on 100 pixels height on creation.

Modified Paths:
--------------
    trunk/blender/source/blender/editors/space_image/space_image.c

Modified: trunk/blender/source/blender/editors/space_image/space_image.c
===================================================================
--- trunk/blender/source/blender/editors/space_image/space_image.c	2011-01-03 17:01:08 UTC (rev 34045)
+++ trunk/blender/source/blender/editors/space_image/space_image.c	2011-01-03 17:37:37 UTC (rev 34046)
@@ -391,6 +391,7 @@
 	simage->iuser.frames= 100;
 	
 	scopes_new(&simage->scopes);
+	simage->sample_line_hist.height= 100;
 
 	/* header */
 	ar= MEM_callocN(sizeof(ARegion), "header for image");





More information about the Bf-blender-cvs mailing list