[Bf-scripts-dev] api bug?

Stephen Swaney sswaney at centurytel.net
Mon Nov 27 19:32:51 CET 2006


On Mon, Nov 27, 2006 at 08:21:22AM -0800, Evan R wrote:
> Hello, not sure if this mailing list is still active, but:
> 
> I've had a little trouble with the Object.setEuler() function in the blender
> cvs. if I give it a euler from the output of another object's getEuler()
> function -- Object.setEuler(anotherObject.getEuler()), it gives me an error
> that says it needs either a euler or 3 floats:

Sounds buggy.  As a general rule in BPy, getters and setters should
interoperate. Code as below should work.

x.setFoo( y.getFoo() )
or
x.foo = y.foo

-- 
Stephen Swaney			
sswaney at centurytel.net



More information about the Bf-scripts-dev mailing list