[Bf-committers] [Bf-blender-cvs] SVN commit: /data/svn/bf-blender [12309] trunk/blender/source/blender: added an option to adjust the alpha clipping value in the oprnGL preferenes .
Stephen Swaney
sswaney at centurytel.net
Sat Oct 20 20:59:54 CEST 2007
On Sat, Oct 20, 2007 at 08:01:57PM +0200, Campbell Barton wrote:
> Revision: 12309
> http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=12309
> Author: campbellbarton
> Date: 2007-10-20 20:01:57 +0200 (Sat, 20 Oct 2007)
>
> Log Message:
> -----------
> added an option to adjust the alpha clipping value in the oprnGL preferenes. in some cases you might
> want to use 0.5 to see through more of the texture. (less halo's with clipmaps), defailt is 0.0 so it
> will only clip 0 alpha.
>
> Modified Paths:
> --------------
> trunk/blender/source/blender/makesdna/DNA_userdef_types.h
> trunk/blender/source/blender/src/drawmesh.c
> trunk/blender/source/blender/src/space.c
>
> Modified: trunk/blender/source/blender/makesdna/DNA_userdef_types.h
> ===================================================================
> --- trunk/blender/source/blender/makesdna/DNA_userdef_types.h 2007-10-20 16:58:48 UTC (rev 12308)
> +++ trunk/blender/source/blender/makesdna/DNA_userdef_types.h 2007-10-20 18:01:57 UTC (rev 12309)
> @@ -182,6 +182,7 @@
> short recent_files; /* maximum number of recently used files to remember */
> short smooth_viewtx; /* miliseconds to spend spinning the view */
> short glreslimit;
> + float glalphaclip;
> } UserDef;
>
> extern UserDef U; /* from usiblender.c !!!! */
This commit breaks on 32bit platforms. You are missing 4 bytes
in UserDef
--
Stephen Swaney
sswaney at centurytel.net
More information about the Bf-committers
mailing list