[Bf-committers] Themes, vertex size

Ton Roosendaal bf-committers@blender.org
Sun, 7 Dec 2003 15:04:43 +0100


Hi,

That's weird... it means that it works *after* it draws the vertices.  
What you changed to size 2.0 is at the end of the call, which should  
restore the setting back to default.

This also doesn't explain why it worked in 2.28c. Are you sure about  
that?

Anyhoo, it hints me something about a glFlush() or glFinish() that's  
missing here. But such calls should be insterted carefully, since some  
3d cards then perform a full swapbuffers as well.

-Ton-


On Saturday, Dec 6, 2003, at 23:52 Europe/Amsterdam, Michael Velikanje  
wrote:

>>
>   Changing line 1069 to glPointSize(2.0); makes no difference,  
> changing line 1078 from glPointSize(1.0); to glPointSize(size) does  
> make it work.
> Odd behavior: On opening blender, the vertex size is 1.0 pixel, when I  
> RMB click next to a vertex it expands to the size chosen for vertex  
> size in Themes, then reverts back to the 1.0 size on release of the  
> mouse button, the vertices only go to the chosen size when the screen  
> is forced to redraw (translate, zoom, scale LMB to move the  
> curser.............) , when a new vertex is chosen the size reverts  
> back to the 1.0 size until the screen is forced to redraw again.
> So glPointSize is supported on OS X 10.3.1
>
>   Michael Velikanje
>> --__--__--
>>
>> Message: 1
>> Date: Fri, 5 Dec 2003 12:49:53 +0100
>> Subject: Re: [Bf-committers] Themes, vertex size
>> From: Ton Roosendaal <ton@blender.org>
>> To: bf-committers@blender.org
>> Reply-To: bf-committers@blender.org
>>
>> Hi,
>>
>> This is weird... so when you try the 2.28c release it works, and the
>> 2.30 release it doesn't? Please include in such reports official
>> releases, that way I can track the changes.
>>
>> Another test, change line 1069 in blender/src/drawobject.c from:
>> 	glPointSize(size);
>> into:
>> 	glPointSize(2.0);
>>
>> That last line was how it was in 2.28c and older versions...
>>
>> -Ton-
>>
>>
>> On Friday, Dec 5, 2003, at 03:42 Europe/Amsterdam, Michael Velikanje
>> wrote:
>
> _______________________________________________
> Bf-committers mailing list
> Bf-committers@blender.org
> http://www.blender.org/mailman/listinfo/bf-committers
>
>
------------------------------------------------------------------------ 
--
Ton Roosendaal  Blender Foundation ton@blender.org  
http://www.blender.org