Blender Git Loki

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)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021