logo       

Re: small FTGL patch required for colored texts.: msg#00095

video.blender.devel

Subject: Re: small FTGL patch required for colored texts.

Please note, this FTGL patch is required for every OS but windows.
The windows precompiled libraries in bf\lib\windows\ftgl are already
modified and updated.

Rob Haarsma wrote:

Hey all,

I modified the code so all glyphs are generated in white by default,
which allows Blender to modify the colors when needed.

Change from line 33 in FTGL\src\FTPixmapGlyph.cpp;

// Get the current glColor.
float ftglColour[4];
// glGetFloatv( GL_CURRENT_COLOR, ftglColour);

ftglColour[0]= ftglColour[1]= ftglColour[2]= ftglColour[3]= 1.0;

Thats all,

Rob

_______________________________________________
Bf-committers mailing list
Bf-committers@xxxxxxxxxxx
http://www.blender.org/mailman/listinfo/bf-committers



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise