Blender Git Commit Log

Git Commits -> Revision 359d002

Revision 359d002 by Wannes Malfait (master)
February 19, 2021, 10:37 (GMT)
Fix T85763: Align Rotation to Vector node fails for collinear vectors

If the axes are aligned in auto pivot mode then the rotation axis would be (0,0,0).
We now fall back to the x axis in this case. If that fails, we fall back to the y axis.

Differential Revision: https://developer.blender.org/D10466

Commit Details:

Full Hash: 359d0029fe7601163c449730d42f12d84163fcd8
Parent Commit: 47fc1e1
Committed By: Jacques Lucke
Lines Changed: +9, -1

1 Modified Path:

/source/blender/nodes/geometry/nodes/node_geo_align_rotation_to_vector.cc (+9, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021