[Bf-python] api style/doc question

alex mole nal at blueyonder.co.uk
Tue Nov 18 01:38:40 CET 2003


Better still:

allow setTexture to optionally set the texco and mapto members of the 
MTex, so the prototype becomes:

setTexture(num,tex,texco=None,mapto=None)


This combines the best of both worlds, giving flexibility and ease of 
use without risking memory problems :)


alex:)



Willian Padovani Germano wrote:
>>My gut feeling is to have setTexture take Texture objects, so I'll go 
>>with this unless someone tells me otherwise :)
> 
> 
> Hi Alex,
> 
> Yes, good idea -- better go with the one that has ID (and so user count).
> 
> --
> Willian, wgermano at ig.com.br
> 
> _______________________________________________
> Bf-python mailing list
> Bf-python at blender.org
> http://www.blender.org/mailman/listinfo/bf-python
> 



________________________________________________________________________
This email has been scanned for all viruses by the MessageLabs Email
Security System. For more information on a proactive email security
service working around the clock, around the globe, visit
http://www.messagelabs.com
________________________________________________________________________



More information about the Bf-python mailing list