|
Blender
V2.59
|
Go to the source code of this file.
Functions | |
| void | ED_init_node_butfuncs (void) |
| void | ED_node_changed_update (struct ID *id, struct bNode *node) |
| void | ED_node_generic_update (struct Main *bmain, struct bNodeTree *ntree, struct bNode *node) |
| void | ED_node_shader_default (struct Material *ma) |
| void | ED_node_composit_default (struct Scene *sce) |
| void | ED_node_texture_default (struct Tex *tex) |
| void | ED_node_link_intersect_test (struct ScrArea *sa, int test) |
| void | ED_node_link_insert (struct ScrArea *sa) |
| void | ED_operatormacros_node (void) |
Definition in file ED_node.h.
| void ED_init_node_butfuncs | ( | void | ) |
Definition at line 1393 of file drawnode.c.
References ListBase::first, bNodeType::next, node_all_composit, node_all_shaders, node_all_textures, node_composit_set_butfunc(), node_shader_set_butfunc(), and node_texture_set_butfunc().
Referenced by WM_init().
Definition at line 84 of file node_draw.c.
References DAG_id_tag_update(), bNode::id, NC_MATERIAL, NC_SCENE, NC_TEXTURE, ND_NODES, ND_SHADING_DRAW, node_tree_from_ID(), node_tree_get_editgroup(), NodeTagChanged(), NodeTagIDChanged(), NTREE_COMPOSIT, NTREE_SHADER, NTREE_TEXTURE, and WM_main_add_notifier().
Referenced by do_node_internal_buttons(), ED_node_generic_update(), ED_node_link_insert(), node_duplicate_exec(), and node_set_active().
| void ED_node_composit_default | ( | struct Scene * | sce | ) |
Definition at line 299 of file node_edit.c.
References CMP_NODE_COMPOSITE, CMP_NODE_R_LAYERS, Global::f, FALSE, ListBase::first, G, G_DEBUG, bNode::id, Scene::id, id_us_plus(), bNode::inputs, bNode::locx, bNode::locy, nodeAddLink(), nodeAddNodeType(), nodeSetActive(), Scene::nodetree, NTREE_COMPOSIT, ntreeAddTree(), ntreeSolveOrder(), NULL, and bNode::outputs.
Definition at line 126 of file node_draw.c.
References ED_node_changed_update(), ListBase::first, has_nodetree(), Material::id, Tex::id, Scene::id, Main::mat, ID::next, Material::nodetree, Tex::nodetree, Scene::nodetree, NTREE_TEXTURE, ntreeTexCheckCyclics(), Main::scene, Main::tex, bNodeTree::type, Material::use_nodes, Tex::use_nodes, and Scene::use_nodes.
Referenced by node_normal_cb().
| void ED_node_link_insert | ( | struct ScrArea * | sa | ) |
Definition at line 2570 of file node_edit.c.
References ED_node_changed_update(), ed_node_link_conditions(), SpaceNode::edittree, ListBase::first, bNodeLink::flag, bNodeLink::fromsock, SpaceNode::id, bNode::inputs, link(), bNodeTree::links, bNodeLink::next, NODE_LINKFLAG_HILITE, nodeAddLink(), ntreeSolveOrder(), NULL, bNode::outputs, snode_tag_changed(), socket_best_match(), bNodeLink::tonode, bNodeLink::tosock, and bNodeSocket::type.
Referenced by special_aftertrans_update().
| void ED_node_link_intersect_test | ( | struct ScrArea * | sa, |
| int | test | ||
| ) |
Definition at line 2601 of file node_edit.c.
References cut_links_intersect(), ed_node_link_conditions(), SpaceNode::edittree, ListBase::first, bNodeLink::flag, link(), bNodeTree::links, bNodeLink::next, NODE_LINKFLAG_HILITE, NULL, bNode::totr, rctf::xmax, rctf::xmin, rctf::ymax, and rctf::ymin.
Referenced by flushTransNodes(), and special_aftertrans_update().
| void ED_node_shader_default | ( | struct Material * | ma | ) |
Definition at line 268 of file node_edit.c.
References Global::f, FALSE, ListBase::first, G, G_DEBUG, bNode::inputs, bNode::locx, bNode::locy, nodeAddLink(), nodeAddNodeType(), nodeSetActive(), Material::nodetree, NTREE_SHADER, ntreeAddTree(), ntreeSolveOrder(), NULL, bNode::outputs, SH_NODE_MATERIAL, and SH_NODE_OUTPUT.
| void ED_node_texture_default | ( | struct Tex * | tex | ) |
Definition at line 336 of file node_edit.c.
References Global::f, FALSE, ListBase::first, G, G_DEBUG, bNode::inputs, bNode::locx, bNode::locy, nodeAddLink(), nodeAddNodeType(), nodeSetActive(), Tex::nodetree, NTREE_TEXTURE, ntreeAddTree(), ntreeSolveOrder(), NULL, bNode::outputs, TEX_NODE_CHECKER, and TEX_NODE_OUTPUT.
| void ED_operatormacros_node | ( | void | ) |
Definition at line 101 of file node_ops.c.
References OPTYPE_REGISTER, OPTYPE_UNDO, wmOperatorTypeMacro::ptr, RNA_boolean_set(), WM_operatortype_append_macro(), and WM_operatortype_macro_define().
Referenced by ED_spacetypes_init().