diff options
author | Jarrett Johnson <jarrett.johnson> | 2021-10-09 22:40:37 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2021-10-09 22:40:37 +0300 |
commit | 79425ed3267663ee482ee3ffcc542d86888103af (patch) | |
tree | 0992d63674d054980e0758ed933780f05c87eaff /source/blender/blenkernel/BKE_node.h | |
parent | 2561145da8d1e6db6617fa67c5a306d6e07e34e5 (diff) |
Geometry Nodes: Align Euler to Vector Node
This commit introduces the Align Euler to Vector function node which
rotates to a body into a given direction. The node replaces the legacy
"Align Rotation to Vector" node, which only worked on an attribute
named `rotation` internally. The "Euler" in the name is meant to make
it clearer that the rotation isn't interchangeable with a regular
vector.
Addresses T91374.
Differential Revision: https://developer.blender.org/D12726
Diffstat (limited to 'source/blender/blenkernel/BKE_node.h')
-rw-r--r-- | source/blender/blenkernel/BKE_node.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_node.h b/source/blender/blenkernel/BKE_node.h index 79ae9d71762..447e0268701 100644 --- a/source/blender/blenkernel/BKE_node.h +++ b/source/blender/blenkernel/BKE_node.h @@ -1533,6 +1533,7 @@ int ntreeTexExecTree(struct bNodeTree *ntree, #define FN_NODE_INPUT_SPECIAL_CHARACTERS 1213 #define FN_NODE_RANDOM_VALUE 1214 #define FN_NODE_ROTATE_EULER 1215 +#define FN_NODE_ALIGN_EULER_TO_VECTOR 1216 /** \} */ |