UI
[blender.git] / source / blender / makesdna / DNA_node_types.h
index b10de02dbb49caa95c41079d0f0328eda76fa0bd..e70221df9aba204bbec3adc0c9dc51bbfced60e5 100644 (file)
@@ -40,6 +40,7 @@ struct bNodeLink;
 struct bNodeType;
 struct bNodeGroup;
 struct AnimData;
+struct uiBlock;
 
 #define NODE_MAXSTR 32
 
@@ -131,6 +132,7 @@ typedef struct bNode {
        rctf butr;                              /* optional buttons area */
        rctf prvr;                              /* optional preview area */
        bNodePreview *preview;  /* optional preview image */
+       struct uiBlock *block;  /* runtime during drawing */
        
        struct bNodeType *typeinfo;     /* lookup of callbacks and defaults */