Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesdna/DNA_node_types.h
| Show First 20 Lines • Show All 204 Lines • ▼ Show 20 Lines | typedef enum eNodeSocketFlag { | ||||
| SOCK_HIDE_VALUE = (1 << 7), | SOCK_HIDE_VALUE = (1 << 7), | ||||
| /** socket hidden automatically, to distinguish from manually hidden */ | /** socket hidden automatically, to distinguish from manually hidden */ | ||||
| SOCK_AUTO_HIDDEN__DEPRECATED = (1 << 8), | SOCK_AUTO_HIDDEN__DEPRECATED = (1 << 8), | ||||
| SOCK_NO_INTERNAL_LINK = (1 << 9), | SOCK_NO_INTERNAL_LINK = (1 << 9), | ||||
| /** Draw socket in a more compact form. */ | /** Draw socket in a more compact form. */ | ||||
| SOCK_COMPACT = (1 << 10), | SOCK_COMPACT = (1 << 10), | ||||
| /** Make the input socket accept multiple incoming links in the UI. */ | /** Make the input socket accept multiple incoming links in the UI. */ | ||||
| SOCK_MULTI_INPUT = (1 << 11), | SOCK_MULTI_INPUT = (1 << 11), | ||||
| /** | |||||
| * Don't show the socket's label in the interface, for situations where the type is obvious and | |||||
| * the name takes up too much space. Note that it doesn't really make sense for this to be stored | |||||
JacquesLucke: Not sure what you want to say with that last sentence. Is this any different than flags like… | |||||
Done Inline ActionsYeah, I guess it's the same as some of the others, so it's not something that belongs here. But it is too bad we have these flags saved in the file. HooglyBoogly: Yeah, I guess it's the same as some of the others, so it's not something that belongs here. But… | |||||
| * in runtime data. | |||||
| */ | |||||
| SOCK_HIDE_LABEL = (1 << 12), | |||||
| } eNodeSocketFlag; | } eNodeSocketFlag; | ||||
| /* limit data in bNode to what we want to see saved? */ | /* limit data in bNode to what we want to see saved? */ | ||||
| typedef struct bNode { | typedef struct bNode { | ||||
| struct bNode *next, *prev, *new_node; | struct bNode *next, *prev, *new_node; | ||||
| /** User-defined properties. */ | /** User-defined properties. */ | ||||
| IDProperty *prop; | IDProperty *prop; | ||||
| ▲ Show 20 Lines • Show All 1,662 Lines • Show Last 20 Lines | |||||
Not sure what you want to say with that last sentence. Is this any different than flags like SOCK_MULTI_INPUT or SOCK_COMPACT?