Changeset View
Changeset View
Standalone View
Standalone View
source/blender/nodes/texture/node_texture_tree.c
| Show First 20 Lines • Show All 115 Lines • ▼ Show 20 Lines | if (linestyle) { | ||||
| if (tx) { | if (tx) { | ||||
| *r_id = &tx->id; | *r_id = &tx->id; | ||||
| *r_ntree = tx->nodetree; | *r_ntree = tx->nodetree; | ||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| static void foreach_nodeclass(Scene *UNUSED(scene), void *calldata, bNodeClassCallback func) | static void foreach_nodeclass(ViewRender *UNUSED(view_render), void *calldata, bNodeClassCallback func) | ||||
| { | { | ||||
| func(calldata, NODE_CLASS_INPUT, N_("Input")); | func(calldata, NODE_CLASS_INPUT, N_("Input")); | ||||
| func(calldata, NODE_CLASS_OUTPUT, N_("Output")); | func(calldata, NODE_CLASS_OUTPUT, N_("Output")); | ||||
| func(calldata, NODE_CLASS_OP_COLOR, N_("Color")); | func(calldata, NODE_CLASS_OP_COLOR, N_("Color")); | ||||
| func(calldata, NODE_CLASS_PATTERN, N_("Patterns")); | func(calldata, NODE_CLASS_PATTERN, N_("Patterns")); | ||||
| func(calldata, NODE_CLASS_TEXTURE, N_("Textures")); | func(calldata, NODE_CLASS_TEXTURE, N_("Textures")); | ||||
| func(calldata, NODE_CLASS_CONVERTOR, N_("Convertor")); | func(calldata, NODE_CLASS_CONVERTOR, N_("Convertor")); | ||||
| func(calldata, NODE_CLASS_DISTORT, N_("Distort")); | func(calldata, NODE_CLASS_DISTORT, N_("Distort")); | ||||
| ▲ Show 20 Lines • Show All 236 Lines • Show Last 20 Lines | |||||