Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/space_node/node_intern.h
| Show First 20 Lines • Show All 53 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. */ | |||||
| struct bNodeLink *last_picked_multi_input_socket_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 251 Lines • Show Last 20 Lines | |||||