diff options
Diffstat (limited to 'source/blender/makesdna/DNA_windowmanager_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_windowmanager_types.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_windowmanager_types.h b/source/blender/makesdna/DNA_windowmanager_types.h index 68d69a671ba..130b308f224 100644 --- a/source/blender/makesdna/DNA_windowmanager_types.h +++ b/source/blender/makesdna/DNA_windowmanager_types.h @@ -374,7 +374,12 @@ typedef struct wmKeyMapItem { /** Unique identifier. Positive for kmi that override builtins, negative otherwise. */ short id; char _pad[2]; - /** Rna pointer to access properties. */ + /** + * RNA pointer to access properties. + * + * \note The `ptr.owner_id` value must be NULL, as a signal not to use the context + * when running property callbacks such as ENUM item functions. + */ struct PointerRNA *ptr; } wmKeyMapItem; |