Page MenuHome

bpy api - assigning to object.matrix_basis with AXIS_ANGLE rotation mode does not work correctly
Closed, ResolvedPublic

Description

Blender Version
Broken: (example: 2.75a, 2.76rc1)

Short description of error
Assignment to object.matrix_basis seems to work incorrectly for rotation mode AXIS_ANGLE

Exact steps for others to reproduce the error
Choose demo.py in


Run Script
Rotation of child changes - not supposed to happen
The script applies parent_inverse to child's local matrix and clears it afterward.

Revert File
Change Rotation Mode to any other mode
Run demo.py
Rotation of child does not change

anm_script.py uses a workaround by assigning to the properties location, rotation_axis_angle and scale individually