Blender
V3.3
|
|
static |
Definition at line 583 of file node_relationships.cc.
References blender::nodes::SocketRef::index(), is_linked_to_viewer(), blender::ed::space_node::node_to_view(), offset, SELECT, and socket_can_be_viewed().
Referenced by node_link_viewer().
|
static |
Definition at line 510 of file node_relationships.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::append(), is_viewer_node(), node, and tree.
Referenced by get_existing_viewer().
|
static |
Definition at line 547 of file node_relationships.cc.
References C, CMP_NODE_VIEWER, CTX_wm_space_node(), ED_node_is_compositor(), and GEO_NODE_VIEWER.
Referenced by link_socket_to_viewer().
|
static |
Definition at line 564 of file node_relationships.cc.
References find_viewer_nodes(), blender::Vector< T, InlineBufferCapacity, Allocator >::is_empty(), NODE_DO_OUTPUT, and tree.
Referenced by node_link_viewer().
|
static |
Definition at line 531 of file node_relationships.cc.
References blender::nodes::OutputSocketRef::directly_linked_sockets(), and is_viewer_socket_in_viewer().
Referenced by find_output_socket_to_be_viewed().
Definition at line 505 of file node_relationships.cc.
References CMP_NODE_SPLITVIEWER, CMP_NODE_VIEWER, ELEM, GEO_NODE_VIEWER, and node.
Referenced by find_viewer_nodes(), and is_viewer_socket_in_viewer().
|
static |
Definition at line 521 of file node_relationships.cc.
References BLI_assert, GEO_NODE_VIEWER, blender::nodes::SocketRef::index(), is_viewer_node(), node, and blender::nodes::SocketRef::node().
Referenced by is_linked_to_viewer().
|
static |
Definition at line 631 of file node_relationships.cc.
References BKE_ntree_update_tag_link_changed(), C, CTX_data_main(), CTX_wm_space_node(), ED_node_tree_propagate_change(), ED_spreadsheet_context_paths_set_geometry_node(), SpaceNode::edittree, bNodeLink::fromnode, bNodeLink::fromsock, get_default_viewer_type(), bNodeTree::links, LISTBASE_FOREACH, bNodeSocket::locx, bNodeSocket::locy, blender::ed::space_node::node_add_node(), node_link_viewer_get_socket(), nodeAddLink(), NTREE_GEOMETRY, OPERATOR_CANCELLED, OPERATOR_FINISHED, remove_links_to_unavailable_viewer_sockets(), bNodeTree::type, and UI_DPI_FAC.
Referenced by node_link_viewer().
|
static |
Definition at line 686 of file node_relationships.cc.
References blender::nodes::NodeRef::bnode(), blender::nodes::SocketRef::bsocket(), C, CTX_wm_space_node(), SpaceNode::edittree, find_output_socket_to_be_viewed(), get_existing_viewer(), link_socket_to_viewer(), blender::ed::space_node::node_to_view(), OPERATOR_FINISHED, and tree.
Referenced by blender::ed::space_node::node_active_link_viewer_exec().
|
static |
Find the socket to link to in a viewer node.
Definition at line 479 of file node_relationships.cc.
References BLI_assert, CD_AUTO_FROM_NAME, NodeGeometryViewer::data_type, ListBase::first, GEO_NODE_VIEWER, bNode::inputs, LISTBASE_FOREACH, ntree, SOCK_GEOMETRY, socket_type_to_custom_data_type(), bNode::storage, bNodeSocket::type, bNode::type, bNode::typeinfo, and bNodeType::updatefunc.
Referenced by link_socket_to_viewer().
|
static |
Definition at line 553 of file node_relationships.cc.
References bNodeTree::links, LISTBASE_FOREACH_MUTABLE, nodeRemLink(), and SOCK_UNAVAIL.
Referenced by link_socket_to_viewer().
|
static |
Definition at line 437 of file node_relationships.cc.
References blender::nodes::SocketRef::bsocket(), blender::nodes::NodeTreeRef::btree(), ELEM, blender::nodes::SocketRef::idname(), nodeSocketIsHidden(), NTREE_GEOMETRY, SOCK_BOOLEAN, SOCK_FLOAT, SOCK_GEOMETRY, SOCK_INT, SOCK_RGBA, SOCK_VECTOR, blender::nodes::SocketRef::tree(), bNodeSocketType::type, bNodeTree::type, and blender::nodes::SocketRef::typeinfo().
Referenced by find_output_socket_to_be_viewed().
|
static |
Definition at line 457 of file node_relationships.cc.
References CD_AUTO_FROM_NAME, CD_PROP_BOOL, CD_PROP_COLOR, CD_PROP_FLOAT, CD_PROP_FLOAT3, CD_PROP_INT32, SOCK_BOOLEAN, SOCK_FLOAT, SOCK_INT, SOCK_RGBA, and SOCK_VECTOR.
Referenced by node_link_viewer_get_socket().