Can somebody help to figure out why I can get the function “rotation_axis_angle” to work? I’m using Blender 2.5

I tried the following piece of python in a script


and from the python-console:

>>>  bpy.context.selected_objects[0].rotation_axis_angle=[0.3,0,0,1]

but nothing happends,… not even an error.

Euler rotation on the same object works fine, and using axis_angle rotation from the GUI with the same values as well… Could it be that this function is somehow not realy implemented in Blender 2.5?

Never mind, I found the answer… Appearently, I need to set the rotation mode to axis-angle first. I thinks that’s weird, because by default it’s set to Quaternion, but still it accepts Euler rotations without changing the mode to Euler…