Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/makesdna/DNA_workspace_types.h')
-rw-r--r--source/blender/makesdna/DNA_workspace_types.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_workspace_types.h b/source/blender/makesdna/DNA_workspace_types.h
index 170366881c6..b9ca2598ff3 100644
--- a/source/blender/makesdna/DNA_workspace_types.h
+++ b/source/blender/makesdna/DNA_workspace_types.h
@@ -160,10 +160,15 @@ typedef struct WorkSpaceDataRelation {
struct WorkSpaceDataRelation *next, *prev;
/** The data used to identify the relation
- * (e.g. to find screen-layout (= value) from/for a hook). */
+ * (e.g. to find screen-layout (= value) from/for a hook).
+ * Note: Now runtime only. */
void *parent;
/** The value for this parent-data/workspace relation. */
void *value;
+
+ /** Reference to the actual parent window, wmWindow->winid. Used in read/write code. */
+ int parentid;
+ char _pad_0[4];
} WorkSpaceDataRelation;
/**