Page MenuHome

bpy.ops.mesh.primitive_torus_add() ignores rotation-parameter
Closed, ResolvedPublic

Description

it's adjustable in redo panel, but if called with rotation=(...) from script/commandline, no rotation is applied.

Event Timeline

codemanx edited a custom field.Apr 14 2013, 8:22 PM

Confirmed.

Here is what happens: The view_align_update_callback() of AddObjectHelper gets called at least once after the rotation has been set from given parameter, which resets rotation to zero... :(

Now I can't think of a good solution here, maybe Campbell does ? ;)

Campbell Barton (campbellbarton) changed the task status from Unknown Status to Resolved.Apr 22 2013, 10:55 PM