[Bf-python] semantic of the get function

Willian Padovani Germano wgermano at ig.com.br
Wed Jun 11 05:06:34 CEST 2003


On Tue, 2003-06-10 at 23:31, Jacques Guignot wrote:
> In the new python API, XXX.get() returns the list of the ***names***
of 
> the XXX objects of the current scene.
> 
> In the old API, XXX.get() returns the list of the XXX objects of the 
> current scene.
> 
> This feature will break the compatibility of the new API.
> 
> I strongly suggest we return to the old semantic, unless there is a 
> ***very good*** reason to change.
> 
> What do you think?

You're right.  That one slipped through.  I even had to confirm.

The Scene module has a .getChildren().  That one was done right.  The
others will be updated, I've just done it to Camera.c and Scene.c.  I'll
commit when more modules get fixed.

Good catch, again, Guignot : ).

--
Willian, wgermano at ig.com.br




More information about the Bf-python mailing list