Files
blender-addons/space_view3d_math_vis
Andrej730 59551980d8 Math Vis Console - fixed errors drawing quaternions and eulers
How to reproduce errors:
1) activate the math vis addon;
2) use default blender scene;
3) type in python console `q = C.object.matrix_world.to_quaternion(); eu = C.object.matrix_world.to_euler()`. You suppose to see a cube and a gizmo representing the rotation transformation for quaternion and euler but you'd be able to see only the variables labels.

Errors:
1) for loops were using .values instead of .items leading to "too much values to unpack".
2) `derived_matrices[key] = matrix` were assuming `derived_matrices` is a dict when it was a list leading to other error.

Pull Request: https://projects.blender.org/blender/blender-addons/pulls/104952
2023-10-14 13:04:24 +02:00
..