[Bf-python] scene.getCurrentCamera() broken on macs :o

Ken Hughes khughes at pacific.edu
Fri Nov 18 16:19:57 CET 2005


Toni Alatalo wrote:
> On Friday 18 November 2005 12:32, Toni Alatalo wrote:
> 
>>we have a problem with scene.getCurrentCamera(), but strangely enough only
>>on macs -- works fine on Linux, but on mac always returns None.
> 
> 
> oops seems that the problem was not there, but also when getting a mesh object 
> with getSelected()[0]
> 
> noticed now that made a little vert group duplication script (using Mesh, 
> works ok - the api is perhaps suboptimal but nice), which again works on 
> linuxes but not on mac (in todays cvs)

Ok, I'm a little confused from the last two e-mail: it's Object.Get and 
Object.GetSelected() which are returning None, and not scene.getCurrent()?

The exmaple in the last e-mail:
    camera = M_Object_Get( Py_None, name );
also confused me;  Object.Get only takes one parameter.

Ken



More information about the Bf-python mailing list