diff options
author | Campbell Barton <campbell@blender.org> | 2022-08-27 05:50:43 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-08-27 05:54:26 +0300 |
commit | de1a2d7988f4567f41fba431d6be2b6446d28305 (patch) | |
tree | 8bc19c6015478c39e5d9e4467417fe0a60f8ecc3 /source/blender/makesdna | |
parent | 578dff786362ba0d1426d1d3d15d579886c0f4fd (diff) |
Cleanup: pass notifiers as const
Diffstat (limited to 'source/blender/makesdna')
-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 2586e13da39..47b7aee54d1 100644 --- a/source/blender/makesdna/DNA_windowmanager_types.h +++ b/source/blender/makesdna/DNA_windowmanager_types.h @@ -149,7 +149,12 @@ typedef struct wmWindowManager { /** Operator registry. */ ListBase operators; - /** Refresh/redraw #wmNotifier structs. */ + /** + * Refresh/redraw #wmNotifier structs. + * \note Once in the queue, notifiers should be considered read-only. + * With the exception of clearing notifiers for data which has been removed, + * see: #NOTE_CATEGORY_TAG_CLEARED. + */ ListBase notifier_queue; /** * For duplicate detection. |