Changeset View
Changeset View
Standalone View
Standalone View
source/blender/nodes/intern/node_exec.c
| Show All 26 Lines | |||||
| #include "BLI_utildefines.h" | #include "BLI_utildefines.h" | ||||
| #include "BKE_global.h" | #include "BKE_global.h" | ||||
| #include "BKE_node.h" | #include "BKE_node.h" | ||||
| #include "MEM_guardedalloc.h" | #include "MEM_guardedalloc.h" | ||||
| #include "node_exec.h" | #include "node_exec.h" | ||||
| #include "node_util.h" | #include "node_utils.h" | ||||
| /* supported socket types in old nodes */ | /* supported socket types in old nodes */ | ||||
| int node_exec_socket_use_stack(bNodeSocket *sock) | int node_exec_socket_use_stack(bNodeSocket *sock) | ||||
| { | { | ||||
| /* NOTE: INT supported as FLOAT. Only for EEVEE. */ | /* NOTE: INT supported as FLOAT. Only for EEVEE. */ | ||||
| return ELEM(sock->type, SOCK_INT, SOCK_FLOAT, SOCK_VECTOR, SOCK_RGBA, SOCK_SHADER); | return ELEM(sock->type, SOCK_INT, SOCK_FLOAT, SOCK_VECTOR, SOCK_RGBA, SOCK_SHADER); | ||||
| } | } | ||||
| ▲ Show 20 Lines • Show All 293 Lines • Show Last 20 Lines | |||||