diff options
author | Martin Poirier <theeth@yahoo.com> | 2010-02-01 21:26:45 +0300 |
---|---|---|
committer | Martin Poirier <theeth@yahoo.com> | 2010-02-01 21:26:45 +0300 |
commit | bfdf6d139e4935bbdd35b1766f92b754311cde39 (patch) | |
tree | 45583b67fc89fb8476de91363980f3fbb3aaf16b /source/blender/windowmanager/WM_api.h | |
parent | f591f34e808d05e5788e196099d5b94ce2bba3e5 (diff) |
Remove NO_CONTEXT flag from enum when copying operator properties to the operator itself.
Diffstat (limited to 'source/blender/windowmanager/WM_api.h')
-rw-r--r-- | source/blender/windowmanager/WM_api.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/windowmanager/WM_api.h b/source/blender/windowmanager/WM_api.h index f59ad924cf8..2e598cfdd61 100644 --- a/source/blender/windowmanager/WM_api.h +++ b/source/blender/windowmanager/WM_api.h @@ -217,7 +217,7 @@ int WM_operator_name_call (struct bContext *C, const char *opstring, int int WM_operator_call_py(struct bContext *C, struct wmOperatorType *ot, int context, struct PointerRNA *properties, struct ReportList *reports); 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); /* make props not context sensitive */ +void WM_operator_properties_sanitize(struct PointerRNA *ptr, int val); /* make props context sensitive or not */ void WM_operator_properties_create(struct PointerRNA *ptr, const char *opstring); void WM_operator_properties_create_ptr(struct PointerRNA *ptr, struct wmOperatorType *ot); void WM_operator_properties_free(struct PointerRNA *ptr); |