[Bf-scripts-dev] api bug?
Evan R
evan at nerdsofparadise.com
Mon Nov 27 17:21:22 CET 2006
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:
Traceback (most recent call last):
File "<string>", line 1579, in bevent
File "<string>", line 1215, in discombobulate
File "<string>", line 250, in copyObjStuff
TypeError: expected euler or sequence of 3 floats
However, if I give it the 3 indices of the other objects getEuler()
function, it works fine -- Object.setEuler(anotherObject.getEuler()[0],
anotherObject.getEuler()[1], anotherObject.getEuler()[2]).
Is this a bug or am I doing something wrong?
Thanks,
-Evan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.blender.org/pipermail/bf-scripts-dev/attachments/20061127/93b78c5c/attachment.htm
More information about the Bf-scripts-dev
mailing list