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:
authorCharlie Jolly <charlie>2021-10-15 17:03:14 +0300
committerCharlie Jolly <mistajolly@gmail.com>2021-10-15 17:03:21 +0300
commitd4f1bc5f39b219466978a1c9e74618ff8fa27433 (patch)
tree75bfa27b694e031b7e1d65cda8b689f58718eb94 /source/blender/modifiers
parent78b5050ff46646af748272bddd7a78506defab11 (diff)
Geometry Nodes: Port shader gradient texture node
Reviewed By: HooglyBoogly, JacquesLucke Differential Revision: https://developer.blender.org/D12717
Diffstat (limited to 'source/blender/modifiers')
-rw-r--r--source/blender/modifiers/intern/MOD_nodes_evaluator.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/modifiers/intern/MOD_nodes_evaluator.cc b/source/blender/modifiers/intern/MOD_nodes_evaluator.cc
index d600e708167..e0803e546b3 100644
--- a/source/blender/modifiers/intern/MOD_nodes_evaluator.cc
+++ b/source/blender/modifiers/intern/MOD_nodes_evaluator.cc
@@ -331,6 +331,7 @@ static void get_socket_value(const SocketRef &socket, void *r_value)
if (bsocket.type == SOCK_VECTOR) {
if (ELEM(bnode.type,
GEO_NODE_SET_POSITION,
+ SH_NODE_TEX_GRADIENT,
SH_NODE_TEX_NOISE,
SH_NODE_TEX_WHITE_NOISE,
GEO_NODE_MESH_TO_POINTS,