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:
authorJulian Eisel <julian@blender.org>2021-11-23 20:35:56 +0300
committerJulian Eisel <julian@blender.org>2021-11-23 20:35:56 +0300
commitc09e8a35904d5c58882cbe93c5086e5f2450c80e (patch)
treebe47fdedd56de6129052af7f8918f463ecbf031e /source/blender/makesdna/DNA_screen_types.h
parentc0a2b2174415af228ecc27659d7cfb5148143a7f (diff)
parent792badcfefcb92aadc16346f0dc11299a8da0ced (diff)
Merge branch 'blender-v3.0-release'
Diffstat (limited to 'source/blender/makesdna/DNA_screen_types.h')
-rw-r--r--source/blender/makesdna/DNA_screen_types.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_screen_types.h b/source/blender/makesdna/DNA_screen_types.h
index f15767ff692..a4c254d6e5a 100644
--- a/source/blender/makesdna/DNA_screen_types.h
+++ b/source/blender/makesdna/DNA_screen_types.h
@@ -154,6 +154,9 @@ typedef struct Panel_Runtime {
/* Pointer to the panel's block. Useful when changes to panel #uiBlocks
* need some context from traversal of the panel "tree". */
struct uiBlock *block;
+
+ /* Non-owning pointer. The context is stored in the block. */
+ struct bContextStore *context;
} Panel_Runtime;
/** The part from uiBlock that needs saved in file. */