Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/space_node/node_intern.h
| Show First 20 Lines • Show All 52 Lines • ▼ Show 20 Lines | typedef struct bNodeLinkDrag { | ||||
| /* List of links dragged by the operator. | /* List of links dragged by the operator. | ||||
| * Note: This is a list of LinkData structs on top of the actual bNodeLinks. | * Note: This is a list of LinkData structs on top of the actual bNodeLinks. | ||||
| * This way the links can be added to the node tree while being stored in this list. | * This way the links can be added to the node tree while being stored in this list. | ||||
| */ | */ | ||||
| ListBase links; | ListBase links; | ||||
| bool from_multi_input_socket; | bool from_multi_input_socket; | ||||
| int in_out; | int in_out; | ||||
| /** Temporarily stores the last picked link from multi input socket operator. */ | /** Temporarily stores the last picked link from multi-input socket operator. */ | ||||
| struct bNodeLink *last_picked_multi_input_socket_link; | struct bNodeLink *last_picked_multi_input_socket_link; | ||||
| /** Temporarily stores the last hovered socket for multi-input socket operator. | |||||
| * Store it to recalculate sorting after it is no longer hovered. */ | |||||
| struct bNode *last_node_hovered_while_dragging_a_link; | struct bNode *last_node_hovered_while_dragging_a_link; | ||||
| } bNodeLinkDrag; | } bNodeLinkDrag; | ||||
| typedef struct SpaceNode_Runtime { | typedef struct SpaceNode_Runtime { | ||||
| float aspect; | float aspect; | ||||
| /** Mouse position for drawing socket-less links and adding nodes. */ | /** Mouse position for drawing socket-less links and adding nodes. */ | ||||
| float cursor[2]; | float cursor[2]; | ||||
| ▲ Show 20 Lines • Show All 265 Lines • Show Last 20 Lines | |||||