diff options
Diffstat (limited to 'source/blender/windowmanager/WM_api.h')
-rw-r--r-- | source/blender/windowmanager/WM_api.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/source/blender/windowmanager/WM_api.h b/source/blender/windowmanager/WM_api.h index 5d6e405dd5d..cf87afa2a34 100644 --- a/source/blender/windowmanager/WM_api.h +++ b/source/blender/windowmanager/WM_api.h @@ -420,11 +420,14 @@ int WM_operator_call_py(struct bContext *C, struct ReportList *reports, const bool is_undo); +/* Used for keymap and macro items. */ void WM_operator_properties_alloc(struct PointerRNA **ptr, struct IDProperty **properties, - const char *opstring); /* used for keymap and macro items */ -void WM_operator_properties_sanitize( - struct PointerRNA *ptr, const bool no_context); /* make props context sensitive or not */ + const char *opstring); + +/* Make props context sensitive or not. */ +void WM_operator_properties_sanitize(struct PointerRNA *ptr, const bool no_context); + bool WM_operator_properties_default(struct PointerRNA *ptr, const bool do_update); void WM_operator_properties_reset(struct wmOperator *op); void WM_operator_properties_create(struct PointerRNA *ptr, const char *opstring); |