[Bf-committers] Themes, vertex size

Robert Wenzlaff bf-committers@blender.org
Sat, 6 Dec 2003 20:17:02 -0500


On Saturday 06 December 2003 14:47, Matthew H. Plough wrote:
> At one point, there was a problem in Tuhopuu where it looked like the point
> size was not getting initialized at program start, so vertices were always
> drawn with size 1 until the user changed the value on the slider, but that
> looks fixed now.  Could a similar issue exist in BF?

This was simply a problem with the fact that tuhopuu uses no rev numbers (due 
to it's constantly changing nature).  A default (0?) was assigned when no 
value was found in the .B.Blend, and the code had no way to tell weather this 
was default or saved value.  The release version can use the rev number to 
determine an appropriate default.

It was particularly problematic with the colors (since 0 was obviously an 
invalid size), but an old .B.blend would return 0,0,0 for the vertex colors 
leaving you with verts that blended into the wires. (Extra colors were saved 
as padding, but were loaded with 0's so new theme colors got these.)

Ctrl-U'ing your desired values fixed both.
-- 
***************************************************
Robert Wenzlaff         rwenzlaff@soylent-green.com