Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErik Abrahamsson <erik85>2021-10-13 17:42:10 +0300
committerHans Goudey <h.goudey@me.com>2021-10-13 17:42:10 +0300
commit78445ebd5fd99444741abee1406aa8d318b5a269 (patch)
tree07f1be571948a506a06b375f577bef713cd79898 /source/blender/blenkernel/BKE_node.h
parent51ea08487bf8debab4163f1bfe3f2495c50bc403 (diff)
Geometry Nodes: Rotate Instances Node
Adds a node that can rotate each of a geometry's instances in global (to the modifier object) or local space (of each point) by a specified angle around a pivot point. In the future, separating the local-global choice for the pivot and the rotation might be useful. However, for now the node is kept simple. Differential Revision: https://developer.blender.org/D12682
Diffstat (limited to 'source/blender/blenkernel/BKE_node.h')
-rw-r--r--source/blender/blenkernel/BKE_node.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_node.h b/source/blender/blenkernel/BKE_node.h
index 4c1c49555b8..b83d8d0e5e6 100644
--- a/source/blender/blenkernel/BKE_node.h
+++ b/source/blender/blenkernel/BKE_node.h
@@ -1534,6 +1534,7 @@ int ntreeTexExecTree(struct bNodeTree *ntree,
#define GEO_NODE_SET_MATERIAL_INDEX 1119
#define GEO_NODE_TRANSLATE_INSTANCES 1120
#define GEO_NODE_SCALE_INSTANCES 1121
+#define GEO_NODE_ROTATE_INSTANCES 1122
/** \} */