[Bf-python] setLocation bug?

Michel Selten michel.s at home.nl
Wed Aug 13 21:09:35 CEST 2003


On Wed, 2003-08-13 at 14:35, Manuel Bastioni wrote:
> The print instruction give a correct float values, but I've
> this error:
> 
> Run Python script "Text.001" ...
> In Object_GetSelected()
> -1.17035913467 2.9564204216 0.987630426884
> Traceback (most recent call last):
>   File "Text.001", line 25, in ?
>   File "Text.001", line 21, in setLocationofFoo
> AttributeError: expected three float arguments
> 
> 
> If I use foo.LocX = obX, foo.LocY = obX, foo.LocZ = obZ
> instead the setLocation, it work.

This will be fixed in blender 2.28a, which will be released _really_
soon.

With regards,
	Michel





More information about the Bf-python mailing list