[Bf-python] Little error with 228c

Stephen Swaney sswaney at swbell.net
Tue Sep 30 07:30:50 CEST 2003


Willian Padovani Germano wrote:
> 
> Yes.  Check setAttr in Camera.c, for example, it handles all the cases by
> first creating the tuple.

A good example.  Very nice comments!

After playing around with PyTuple_*** interface, trying
to figure out what the problem actually was,
I confess I was 'inspired' by the setAttr code in Curve.c.
Hmmm, it looks a lot like the stuff in Camera.c.
I suspect a common parentage.

It is nice having examples like this.  Makes it much
easier to get up to speed with both blender and python.

-- 
Stephen Swaney			
sswaney at swbell.net



More information about the Bf-python mailing list