Blender
V3.3
|
#include "MEM_guardedalloc.h"
#include "DNA_anim_types.h"
#include "DNA_node_types.h"
#include "BLI_easing.h"
#include "BKE_anim_data.h"
#include "BKE_context.h"
#include "BKE_curve.h"
#include "BKE_lib_id.h"
#include "BKE_main.h"
#include "BKE_node.h"
#include "BKE_node_tree_update.h"
#include "BKE_screen.h"
#include "ED_node.h"
#include "ED_render.h"
#include "ED_screen.h"
#include "ED_space_api.h"
#include "ED_spreadsheet.h"
#include "ED_util.h"
#include "RNA_access.h"
#include "RNA_define.h"
#include "RNA_prototypes.h"
#include "DEG_depsgraph.h"
#include "WM_api.h"
#include "WM_types.h"
#include "GPU_state.h"
#include "UI_interface_icons.h"
#include "UI_resources.h"
#include "UI_view2d.h"
#include "BLT_translation.h"
#include "NOD_node_declaration.hh"
#include "NOD_node_tree_ref.hh"
#include "NOD_socket_declarations.hh"
#include "NOD_socket_declarations_geometry.hh"
#include "node_intern.hh"
Go to the source code of this file.
Classes | |
struct | bNodeListItem |
struct | NodeInsertOfsData |
struct | blender::ed::space_node::LinkAndPosition |
Namespaces | |
blender | |
blender::ed | |
blender::ed::space_node | |
blender::ed::space_node::viewer_linking | |
Join Nodes Operator | |
#define | NODE_JOIN_DONE 1 |
#define | NODE_JOIN_IS_DESCENDANT 2 |
static void | blender::ed::space_node::node_join_attach_recursive (bNode *node, bNode *frame) |
static int | blender::ed::space_node::node_join_exec (bContext *C, wmOperator *UNUSED(op)) |
void | blender::ed::space_node::NODE_OT_join (wmOperatorType *ot) |
Detach Operator | |
#define | NODE_DETACH_DONE 1 |
#define | NODE_DETACH_IS_DESCENDANT 2 |
static void | blender::ed::space_node::node_detach_recursive (bNode *node) |
static int | blender::ed::space_node::node_detach_exec (bContext *C, wmOperator *UNUSED(op)) |
void | blender::ed::space_node::NODE_OT_detach (wmOperatorType *ot) |
#define NODE_DETACH_DONE 1 |
Definition at line 1808 of file node_relationships.cc.
#define NODE_DETACH_IS_DESCENDANT 2 |
Definition at line 1809 of file node_relationships.cc.
#define NODE_INSOFS_ANIM_DURATION 0.25f |
Definition at line 2138 of file node_relationships.cc.
#define NODE_JOIN_DONE 1 |
Definition at line 1624 of file node_relationships.cc.
#define NODE_JOIN_IS_DESCENDANT 2 |
Definition at line 1625 of file node_relationships.cc.
Definition at line 73 of file node_relationships.cc.
References LISTBASE_FOREACH, and NODE_LINK_TEMP_HIGHLIGHT.
Referenced by blender::ed::space_node::node_link_cancel(), blender::ed::space_node::node_link_exit(), blender::ed::space_node::pick_input_link_by_link_intersect(), and blender::ed::space_node::pick_link().
Assumes link with NODE_LINKFLAG_HILITE set.
Definition at line 2432 of file node_relationships.cc.
References blender::compositor::area(), BKE_ntree_update_tag_link_changed(), blender::ed::space_node::ed_node_link_conditions(), ED_node_tree_propagate_change(), SpaceNode::edittree, bNodeLink::flag, SpaceNode::flag, bNodeLink::fromnode, bNodeLink::fromsock, blender::ed::space_node::get_main_socket(), NodeInsertOfsData::insert, bNodeTree::links, LISTBASE_FOREACH, NodeInsertOfsData::next, NODE_LINKFLAG_HILITE, NODE_REROUTE, nodeAddLink(), nodeRemLink(), ntree, NodeInsertOfsData::prev, SpaceNode::runtime, SNODE_SKIP_INSOFFSET, SOCK_IN, SOCK_OUT, bNodeLink::tonode, bNodeLink::tosock, bNodeSocket::type, bNode::type, bNodeTree::typeinfo, and bNodeTreeType::validate_link.
Referenced by special_aftertrans_update__node().
Test == 0, clear all intersect flags.
Definition at line 1948 of file node_relationships.cc.
References blender::compositor::area(), BKE_area_find_region_type(), BLI_rctf_isect_segment(), dist_squared_to_line_segment_v2(), blender::ed::space_node::ed_node_link_conditions(), SpaceNode::edittree, bNodeLink::flag, bNodeTree::links, LISTBASE_FOREACH, min_ff(), blender::ed::space_node::node_link_bezier_points(), blender::ed::space_node::node_link_is_hidden_or_dimmed(), NODE_LINK_RESOL, NODE_LINKFLAG_HILITE, RGN_TYPE_WINDOW, select(), and ARegion::v2d.
Referenced by flushTransNodes(), and special_aftertrans_update__node().