diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-01-23 04:02:53 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-01-23 04:02:53 +0300 |
commit | 2f6a158d21ae0ca5dba0c67e4e199cd995e4ce15 (patch) | |
tree | ee604d518c3acae03622d32d4b8221279de36ef8 /source/blender/python/intern/bpy_rna.h | |
parent | 8dd14e1eed6f65af3a19a5cae8202c8f701e94ed (diff) |
when python calls an operator, return a set from the operator flag, this matches the set that python operators themselves return. eg.
{'MODAL'} or... {'FINISHED'}
Diffstat (limited to 'source/blender/python/intern/bpy_rna.h')
-rw-r--r-- | source/blender/python/intern/bpy_rna.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/python/intern/bpy_rna.h b/source/blender/python/intern/bpy_rna.h index 48eedd1d5b2..f7afeed05ce 100644 --- a/source/blender/python/intern/bpy_rna.h +++ b/source/blender/python/intern/bpy_rna.h @@ -79,6 +79,8 @@ int pyrna_py_to_prop(PointerRNA *ptr, PropertyRNA *prop, void *data, PyObject *v int pyrna_pydict_to_props(PointerRNA *ptr, PyObject *kw, int all_args, const char *error_prefix); PyObject * pyrna_prop_to_py(PointerRNA *ptr, PropertyRNA *prop); +PyObject *pyrna_enum_bitfield_to_py(struct EnumPropertyItem *items, int value); + /* function for registering types */ PyObject *pyrna_basetype_register(PyObject *self, PyObject *args); PyObject *pyrna_basetype_unregister(PyObject *self, PyObject *args); |