Changeset View
Changeset View
Standalone View
Standalone View
source/blender/nodes/texture/node_texture_utils.c
- This file was moved from source/blender/nodes/texture/node_texture_util.c.
| Show All 32 Lines | |||||
| * comments: (ton) | * comments: (ton) | ||||
| * | * | ||||
| * This system needs recode, a node system should rely on the stack, and | * This system needs recode, a node system should rely on the stack, and | ||||
| * callbacks for nodes only should evaluate own node, not recursively go | * callbacks for nodes only should evaluate own node, not recursively go | ||||
| * over other previous ones. | * over other previous ones. | ||||
| */ | */ | ||||
| #include <assert.h> | #include <assert.h> | ||||
| #include "node_texture_util.h" | #include "node_texture_utils.h" | ||||
| bool tex_node_poll_default(bNodeType *UNUSED(ntype), bNodeTree *ntree) | bool tex_node_poll_default(bNodeType *UNUSED(ntype), bNodeTree *ntree) | ||||
| { | { | ||||
| return STREQ(ntree->idname, "TextureNodeTree"); | return STREQ(ntree->idname, "TextureNodeTree"); | ||||
| } | } | ||||
| void tex_node_type_base( | void tex_node_type_base( | ||||
| struct bNodeType *ntype, int type, const char *name, short nclass, short flag) | struct bNodeType *ntype, int type, const char *name, short nclass, short flag) | ||||
| ▲ Show 20 Lines • Show All 141 Lines • Show Last 20 Lines | |||||