[Bf-committers] UiDefButF - setting the default value?

Matt Ebb matt at mke3.net
Thu Oct 12 02:38:14 CEST 2006


On 12/10/2006, at 03:07 AM, Tom M wrote:

> I'm porting the clouds2 plugin texture to be built in, and since the
> plugin had defaults presumed there was a straight forward way to do so
> for built in textures.  So I guess I'll leave the defaults out.

Defaults for things like this are usually initialised in the relevant  
file in blenkernel/intern/ . It looks like texture.c, default_tex()  
is the function you're looking for :)

cheers,

Matt


------------------------------------------
Matt Ebb . matt at mke3.net . http://mke3.net



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.blender.org/pipermail/bf-committers/attachments/20061012/cd89ea5e/attachment.html


More information about the Bf-committers mailing list